CVE-2026-125198

Discovered by AISLEPUBLISHEDCWE-401

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.

CVSS Base Scores

CVSS v4.02.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

CVSS v3.1
2.5

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Affected Products

VendorProductVersionStatus
FFmpegFFmpeg0affected

Credits

  • Joshua Rogers (AISLE Research)(finder)
  • 罗乾林(remediation developer)

References