{"id":"CVE-2026-125178","title":"FFmpeg through 9.0.2 Out-of-Bounds Heap Read via TDSC Cursor Dimensions","summary":"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 …","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","cvssSource":"cna","cwe":["CWE-125"],"vendor":"FFmpeg","product":"FFmpeg","affected":["FFmpeg <= 9.0.2"],"published":"2026-11-09","updated":"2026-11-09","sourceUpdated":"2026-11-09T19:11:04.895Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-125178","references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24682"},{"url":"https://github.com/FFmpeg/FFmpeg/commit/12c589a37d093cc55618f8377b092dc21416806f","label":"Patch Commit"},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/tdsc.c#L207"},{"url":"https://github.com/FFmpeg/FFmpeg"},{"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-heap-read-via-tdsc-cursor-dimensions","label":"VulnCheck Advisory: FFmpeg through 9.0.2 Out-of-Bounds Heap Read via TDSC Cursor Dimensions"}],"tags":["cve.org"],"ingestedAt":"2026-11-09T19:18:02.615Z","slug":"CVE-2026-125178","body":"## Overview\n\nFFmpeg 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.\n\n## Affected\n\n- `FFmpeg <= 9.0.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}