Skip to main content
CVE-2026-137911VulnerabilityPublished

FFmpeg before 9.1 contains an out-of-bounds read vulnerability in xwd_encode_frame() in libavcodec/xwdenc.c that

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-137911· Medium 5.8

Not known to be exploited · CVSS 5.8 Medium : upgrade to 9.1 when convenient.

Data as of 27 Nov 2026, 16:48 UTC

CVSS 4.0 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (AISLE)CVSS 4.05.8
CNA (AISLE)CVSS 3.15.3
Patch
Available – fixed in 9.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade FFmpeg to 9.1.

Affected software

ProductAffectedFixed in
FFmpegFFmpegAffected
  • <9.1
Fixed in
  • 9.1

AI-suggested

A fix for this vulnerability is available in FFmpeg version 9.1 and later. Users should upgrade to version 9.1 or newer to remediate this issue.

Description

FFmpeg versions before 9.1 have an out-of-bounds read vulnerability in the xwd_encode_frame() function within libavcodec/xwdenc.c. This flaw occurs because the function copies each RGB24 or BGR24 row using the padded XWD scanline size instead of the actual pixel row size. An attacker who can control the width of video encoded to XWD format with tightly packed frames may cause the encoder to read beyond the frame buffer, potentially crashing the application or leaking heap memory contents into the output image.

References

Community reviews

Loading reviews…