FFmpeg before 9.1 Out-of-Bounds Read via XWD Encoder Scanline Padding
- CVE-2026-137911
- GHSA-xgxc-wj9p-wmwj
- EUVD-2026-137206
Description
FFmpeg before 9.1 contains an out-of-bounds read vulnerability in xwd_encode_frame() in libavcodec/xwdenc.c that copies each RGB24 or BGR24 row using the padded XWD scanline size instead of the pixel row size. Attackers who control the width of video encoded to XWD by an application that supplies tightly packed frames can make the encoder read past the frame buffer, crashing the application or leaking heap contents into the output image.
Text from the CVE.org record.
Recommendation
ffmpeg
- If you run a version before 9.1update to 9.1 or later
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
ffmpeg
Affected versions Fixed in before 9.1 9.1
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.