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.

Published

CVSS 4.0 score 6.9 out of 10.

Reported versions and fixes

  • Source-reported product — Reported version range cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

Source evidence