freenode

← CVE tracker

CVE-2026-137911

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

Severity
medium CVSS 5.8 (v4.0)
Affects
FFmpeg
Weakness
CWE-125: Out-of-bounds Read
Published
27 November 2026 by AISLE
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.