Skip to content

CVE-2026-125178 FFmpeg through 9.0.2 Out-of-Bounds Heap Read via TDSC Cursor Dimensions

MediumCVSS 6.9 EPSS 0.13%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

Description

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.

Upgrade path

5 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/ffmpeg(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/ffmpeg(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/ffmpeg(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/ffmpeg(Ubuntu 26.10) All versions No fix listed No fix yet
ffmpeg/ffmpeg <= 9.0.2 after 9.0.2 Fixed

Affected products

ProductAffected versionsFixed in
ffmpeg/ffmpeg <= 9.0.2 No fix listed
ubuntu/ffmpeg(Ubuntu:22.04) All versions No fix listed
ubuntu/ffmpeg(Ubuntu:24.04) All versions No fix listed
ubuntu/ffmpeg(Ubuntu:26.04) All versions No fix listed
ubuntu/ffmpeg(Ubuntu:26.10) All versions No fix listed

References