« List of all CVEs

CVE-2026-137911

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

Published: 11/27/2026 Last updated: 11/27/2026 Reserved: 11/27/2026

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.

CNA assigner: AISLE (1a4f025a-074d-4105-b4e2-52bd8eabe2ea) Requested by: n/a

Metrics

Version Score Severity Vector String
4.0 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 5.3 Medium CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H

Opam packages affected (3)

conf-ffmpeg ffmpeg opus

Products affected (0)

No product listed.

References (4)

Credits (2)