
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-137911 is an out-of-bounds read vulnerability in FFmpeg's XWD encoder (xwd_encode_frame() in libavcodec/xwdenc.c) affecting all versions before 9.1. The flaw causes the encoder to copy each RGB24 or BGR24 row using the padded XWD scanline size (lsize) instead of the actual pixel row size, potentially reading past the allocated frame buffer. It was published on November 27, 2026, with a patch committed the same day. The vulnerability carries a CVSS v3.1 base score of 5.3 (Medium) and a CVSS v4.0 base score of 5.8 (Medium) (Github Advisory, Feedly).
The root cause is an out-of-bounds read (CWE-125) in the xwd_encode_frame() function within libavcodec/xwdenc.c. When encoding RGB24 or BGR24 pixel data to XWD format, the encoder calculates a padded scanline size (lsize = FFALIGN(bpp * width, bpad) / 8) and uses it directly in bytestream_put_buffer() to copy each row — but the actual pixel row may be smaller than lsize when frames are tightly packed, causing reads beyond the frame buffer boundary. An attacker who controls the video width passed to an application using FFmpeg for XWD encoding can trigger this condition. The fix (commit f26d201) introduces a separate row_bytes variable computed as (bpp * avctx->width + 7) / 8, copies only the actual pixel data, and zero-fills the remaining padding (FFmpeg Commit, Github Advisory).
Successful exploitation can result in two primary outcomes: application crash (denial of service) due to reading past the frame buffer, or leakage of heap memory contents embedded into the output XWD image file, which may expose sensitive in-memory data such as keys, credentials, or other process data. The vulnerability is local in scope and requires user interaction, limiting its reach to applications that accept attacker-controlled video width parameters and encode to XWD format. There is no integrity impact, and lateral movement potential is low, but heap content disclosure could facilitate further attacks (Github Advisory, Feedly).
No public proof-of-concept exploit code has been identified for this vulnerability. The EPSS score is approximately 0.195%, indicating a low near-term exploitation probability. Feedly threat intelligence notes an association with the ScanLine malware family, suggesting some degree of weaponization interest, though no confirmed in-the-wild exploitation events have been recorded (nvdSsvc exploitation status: "none"). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access, high attack complexity, specific deployment conditions (tightly packed frames, attacker-controlled width), and user interaction, making opportunistic mass exploitation unlikely (Github Advisory, Feedly).
lsize) exceeds the actual pixel row size, creating a gap that causes the encoder to read beyond the allocated frame buffer.linesize[0] equals the actual pixel row width in bytes, with no extra padding), maximizing the out-of-bounds read distance.xwd_encode_frame() with the malicious width.xwdenc.c or xwd_encode_frame(); crash dumps from FFmpeg-linked processes.The primary remediation is to upgrade FFmpeg to version 9.1 or later, which includes the fix in commit f26d201 that correctly separates pixel row size from padded scanline size during XWD encoding. If immediate patching is not feasible, restrict or disable XWD format encoding in affected applications, or validate and sanitize video width parameters before passing them to the FFmpeg encoder. Organizations using FFmpeg as a library dependency should also check for transitive exposure through third-party software (Github Advisory, FFmpeg Commit).
The vulnerability was discovered by Joshua Rogers of AISLE and reported under identifier AISLE-2026-0150-00370, with the fix committed by FFmpeg developer michaelni. The Yocto Project security mailing list discussed the issue in the context of embedded Linux distributions that bundle FFmpeg. No significant broader media coverage or notable public researcher commentary beyond the patch and advisory has been identified (FFmpeg Commit, Feedly).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."