CVE-2026-125198: FFmpeg through 9.0.2 Memory Leak via MediaCodec JNI setBuffer
CVE-2026-125198 FFmpeg through 9.0.2 Memory Leak via MediaCodec JNI setBuffer
Summary: FFmpeg through 9.0.2 Memory Leak via MediaCodec JNI setBuffer
EPSS: 0.1% probability of exploitation in the next 30 days (percentile 1.8).
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.
UNKNOWN — vector CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVE-2026-125198 FFmpeg through 9.0.2 Memory Leak via MediaCodec JNI setBuffer