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.
References
| Link | Resource |
|---|---|
| https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 | Issue Tracking Patch |
| https://github.com/FFmpeg/FFmpeg | Product |
| https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/xwdenc.c#L207 | Patch |
| https://github.com/FFmpeg/FFmpeg/commit/f26d201dd87f36e89ab77b5f689765604c9b06bc | Patch |
Configurations
History
27 Nov 2026, 17:20
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Ffmpeg ffmpeg
Ffmpeg |
|
| CPE | cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* | |
| References | () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 - Issue Tracking, Patch | |
| References | () https://github.com/FFmpeg/FFmpeg - Product | |
| References | () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/xwdenc.c#L207 - Patch | |
| References | () https://github.com/FFmpeg/FFmpeg/commit/f26d201dd87f36e89ab77b5f689765604c9b06bc - Patch |
27 Nov 2026, 13:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-27 13:17
Updated : 2026-11-27 17:20
NVD link : CVE-2026-137911
Mitre link : CVE-2026-137911
CVE.ORG link : CVE-2026-137911
JSON object : View
Products Affected
ffmpeg
- ffmpeg
CWE
CWE-125
Out-of-bounds Read
