CVE-2026-125198
JSON

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 packageVersionsReported by
FFmpeg FFmpegup to 9.0.2CVE List, NVD

All scores

VulnCheck2.0low CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck2.5low CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-125198 changed 2026-11-13CVE Terms of Use
NVDCVE-2026-125198 changed 2026-11-25Public domain