CVE-2026-137911
FFmpeg before 9.1 Out-of-Bounds Read via XWD Encoder Scanline Padding
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 |
| Vendor | ffmpeg |
| Product | ffmpeg |
| Published | Nov 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for ffmpeg ffmpeg
Be the first to know when new medium vulnerabilities affecting ffmpeg ffmpeg are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
FFmpeg / FFmpeg
0 < 9.1
References
Credits
Joshua Rogers (AISLE Research) Michael Niedermayer