CVE-2026-125198Published Nov 9, 2026 · Nov 9Updated 5d ago
FFmpeg denial of service in Android MediaCodec buffer handling
FFmpeg
Low2.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| FFmpeg FFmpeg |
| No fix yet |
Original 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.
From the CVE record · VulnCheck