Description
VLC media player 3.0.0 before 3.0.22 contains a heap-based buffer overflow vulnerability in CEA708_Window_Scroll() in modules/codec/cea708.c that compares the rightmost used column of a left-to-right scrolling caption window against CEA708_WINDOW_MAX_ROWS - 1 instead of CEA708_WINDOW_MAX_COLS - 1, while CEA708_Window_MaxCol() inspects the wrong row and CEA708_Window_Truncate() never drops the last column of a row holding more than one character, so rows that already reach the last column are shifted further right. Attackers can supply a crafted media file or stream whose CEA-708 closed caption data repeatedly scrolls a full-width left-to-right window, writing past the end of the heap-allocated row's character and style arrays, which crashes VLC and corrupts heap memory when the caption track is decoded.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
No affected versions have been published.
Timeline
- Published
- Dec 4, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Received