FFmpeg before 9.1 contains an out-of-bounds read vulnerability in xwd_encode_frame() in libavcodec/xwdenc.c that
Source GCVE Database
Not known to be exploited · CVSS 5.8 Medium : upgrade to 9.1 when convenient.
Data as of 27 Nov 2026, 16:48 UTC
Thin evidence
One scorer or none| CNA (AISLE) | CVSS 4.0 | 5.8 |
|---|---|---|
| CNA (AISLE) | CVSS 3.1 | 5.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:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| FFmpegFFmpeg | Affected
| Fixed in
|
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
- nvd.nist.gov/vuln/detail/CVE-2026-137911 (opens in a new tab)
- github.com/FFmpeg/FFmpeg/commit/f26d201dd87f36e89ab77b5f689765604c9b06bc (opens in a new tab)
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 (opens in a new tab)
- github.com/FFmpeg/FFmpeg (opens in a new tab)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/xwdenc.c (opens in a new tab)