CVE-2026-125178
FFmpeg through 9.0.2 contains an out-of-bounds heap read …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24682
- github.com/FFmpeg/FFmpeg
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/tdsc.c#L207
- github.com/FFmpeg/FFmpeg/commit/12c589a37d093cc55618f8377b092dc21416806f
- www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-heap-read-via-tdsc-cursor-
- nvd.nist.gov/vuln/detail/CVE-2026-125178
- cve.org/CVERecord?id=CVE-2026-125178
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.