P4 · InfoCVSS 2.5
FFmpeg through 9.0.2 Memory Leak via MediaCodec JNI setBuffer
- CVE-2026-125198
- GHSA-4q2x-vx5w-h3m6
- EUVD-2026-120287
Description
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.
Text from the CVE.org record.
Affected
ffmpeg
- up to 9.0.2
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.