CVE-2026-125198

published 9 Nov 2026 · updated 13 Nov 2026

FFmpeg through 9.0.2 Memory Leak via MediaCodec JNI setBuffer

2.5LowCVSS 2.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ffmpeg<=9.0.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125198 severity on Zeptric[![CVE-2026-125198](https://zeptric.io/badge/cve/CVE-2026-125198.svg)](https://zeptric.io/cve/CVE-2026-125198)