CVE-2026-125198

FFmpeg through 9.0.2 contains a memory leak vulnerability in mediaformat_jni_setBuffer() in libavcodec/mediacodec_wrapper.c that never frees buffers wrapped with NewDirectByteBuffer(). Attackers can supply crafted media files with large extradata, leaking native memory on each MediaCodec decoder configuration in Android applications and causing resource exhaustion.

CVSS base score
2.5 (v3.1)
Severity
LOW
Attack vector
Local
Weakness
CWE-401
Last modified
November 25, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Affected products

ffmpeg ffmpeg

References

View full NVD advisory →

More ffmpeg vulnerabilities

Published the same day

← Back to CVE watch