CVE-2026-137911 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Issue TrackingPatch |
| https://github.com/FFmpeg/FFmpeg | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Product |
| https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/xwdenc.c#L207 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Patch |
| https://github.com/FFmpeg/FFmpeg/commit/f26d201dd87f36e89ab77b5f689765604c9b06bc | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea |
Affected Products
| Product | Versions |
|---|---|
| ffmpeg ffmpeg | < 9.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Dec 3, 2026 | CVE Modified | CISA-ADP |
| Nov 27, 2026 | Initial Analysis | [email protected] |
| Nov 27, 2026 | New CVE Received | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea |