Out-of-bounds Read in Ffmpeg
CVE-2026-125194
FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in pcm_dvd_encode_frame() in libavcodec/pcm-dvdenc.c when a 24-bit final frame holds fewer samples than one block. Attackers can supply 24-bit 48 or 96 kHz audio whose length leaves a short final frame, causing the loop counter to wrap and crash the transcoding process.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25694 (issue-tracking)
- github.com/FFmpeg/FFmpeg (product)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/pcm-dvdenc.c (technical-description)
- github.com/FFmpeg/FFmpeg/commit/cfe6a6cd7de59341a70ebe6a2d477f3281aec834 (patch)
- www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-read-via-pcm-dv… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-125194?
- CVE-2026-125194 is a medium-severity vulnerability in Ffmpeg, classified under Out-of-bounds Read. CVSS score: 5.5/10. Published 2026-11-09.
- How severe is CVE-2026-125194?
- Medium severity. CVSS v3 base score is 5.5 out of 10.