CVE-2026-137911
JSON

5.8medium

FFmpeg before 9.1 Out-of-Bounds Read via XWD Encoder Scanline Padding

Severity
5.8medium CVSS:4.0 by AISLE
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
AISLE

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.

Affected

Product or packageVersionsReported by
FFmpeg FFmpegbefore 9.1CVE List, NVD

All scores

AISLE5.8medium CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
AISLE5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137911 changed 2026-11-27CVE Terms of Use
NVDCVE-2026-137911 changed 2026-11-27Public domain