CVE-2026-137911 PUBLISHED

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

Assigner: AISLE
Reserved: 27.11.2026 Published: 27.11.2026 Updated: 27.11.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.

Metrics

CVSS Vector: 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
CVSS Score: 5.8

Product Status

Vendor FFmpeg
Product FFmpeg
Versions Default: unaffected
  • affected from 0 to 9.1 (excl.)

Credits

  • Joshua Rogers (AISLE Research) finder
  • Michael Niedermayer remediation developer

References

Problem Types

  • Out-of-bounds Read CWE