Technical impact
An out‑of‑bounds heap read occurs in the tdsc_load_cursor() function in libavcodec/tdsc.c of FFmpeg versions up to 9.0.2. The bug arises because cursor dimensions are stored before they are validated. An attacker who can supply a malicious AVI file containing TDSC cursor dimensions larger than the allocated buffer can trigger tdsc_paint_cursor() to read past the cursor buffer. This can cause the decoder to crash, resulting in a denial of service, or leak portions of the heap into the video frames, potentially revealing sensitive data.
Affected Systems
FFmpeg software, specifically versions through 9.0.2, is affected. The vulnerability is present in the main ffmpeg distribution and any builds that include the libavcodec/tdsc.c implementation without the subsequent patch. Users running older FFmpeg releases should verify their installed version and check for an update.
Risk and Exploitability
The CVSS base score is 6.9, indicating moderate severity. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. Attackers would need to supply a crafted AVI file to trigger the issue, which implies that the exploit can be used locally when the user runs ffmpeg on a malicious file, or remotely if ffmpeg is invoked by a web service or media processing pipeline. Based on the description, the likely attack vector is the processing of a user‑supplied media file. The vulnerability can lead to a crash or leakage of heap contents, affecting availability and confidentiality.