Out-of-bounds Read in Ffmpeg
CVE-2026-125178
FFmpeg through 9.0.2 contains an out-of-bounds heap read vulnerability in tdsc_load_cursor() in libavcodec/tdsc.c, which stores cursor dimensions before validating them. Attackers can supply a crafted AVI file with oversized TDSC cursor dimensions so tdsc_paint_cursor() reads past the cursor buffer, crashing the decoder or leaking heap memory into frames.
Vulnerability class: Buffer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/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/24682 (issue-tracking)
- github.com/FFmpeg/FFmpeg (product)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/tdsc.c (technical-description)
- github.com/FFmpeg/FFmpeg/commit/12c589a37d093cc55618f8377b092dc21416806f (patch)
- www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-heap-read-via-t… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-125178?
- CVE-2026-125178 is a medium-severity vulnerability in Ffmpeg, classified under Out-of-bounds Read. CVSS score: 6.1/10. Published 2026-11-09.
- How severe is CVE-2026-125178?
- Medium severity. CVSS v3 base score is 6.1 out of 10.