CVE-2026-125198
FFmpeg through 9.0.2 Memory Leak via MediaCodec JNI setBuffer
- Severity
- low CVSS 2.0 (v4.0)
- Affects
- FFmpeg
- Weakness
- CWE-401: Missing Release of Memory after Effective Lifetime
- Published
- 9 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.