CVE-2026-125198
2.0low
FFmpeg through 9.0.2 Memory Leak via MediaCodec JNI setBuffer
- Severity
- 2.0low CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FFmpeg FFmpeg | up to 9.0.2 | CVE List, NVD |
All scores
| VulnCheck | 2.0low CVSS:4.0 | 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 |
| VulnCheck | 2.5low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-125198 changed 2026-11-13 | CVE Terms of Use |
| NVD | CVE-2026-125198 changed 2026-11-25 | Public domain |