FFmpeg before 9.1 Out-of-Bounds Read via XWD Encoder Scanline Padding
Summary
| CVE | CVE-2026-137911 |
|---|---|
| State | PUBLISHED |
| Assigner | AISLE |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-27 13:17:26 UTC |
| Updated | 2026-11-27 17:20:44 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 5.8 MEDIUM from 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.001950000 probability, percentile 0.052790000 (date 2026-11-28)
Problem Types: CWE-125 | CWE-125 Out-of-bounds Read
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Secondary | 5.8 | MEDIUM | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | DECLARED | 5.8 | MEDIUM | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N |
| 3.1 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H |
| 3.1 | CNA | DECLARED | 5.3 | MEDIUM | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H |
CVSS v4.0 Breakdown
Attack Vector
LocalAttack Complexity
HighAttack Requirements
PresentPrivileges Required
NoneUser Interaction
PassiveConfidentiality
LowIntegrity
NoneAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | code.ffmpeg.org | Issue Tracking, Patch |
| github.com/FFmpeg/FFmpeg | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | Product |
| github.com/FFmpeg/FFmpeg/commit/f26d201dd87f36e89ab77b5f689765604c9b06bc | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | Patch |
| github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/xwdenc.c | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Joshua Rogers (AISLE Research) (en)
CNA: Michael Niedermayer (en)
There are currently no legacy QID mappings associated with this CVE.