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

Published Updated

Applications encoding tightly packed frames to XWD with FFmpeg can read past the frame buffer, crashing or leaking heap memory.

CVSS score

Medium

5.8/10

CVSS 4.0 · Scored by AISLE Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
9.1
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-137911?

CVE-2026-137911 is a medium-severity memory corruption vulnerability in FFmpeg, published on 27 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-125

How severe is CVE-2026-137911?

CVE-2026-137911 scores 5.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by AISLE.

Attack vector
Local
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
Low
Integrity
None
Availability
High

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

Which versions are affected by CVE-2026-137911?

It affects 1 product.

An affected version is only exploitable if your software calls xwd_encode_frame(). Many projects that include it are not exposed.

Status by vendor 1
WhoReleaseStatusPackages
Upstreamfixedffmpeg:ffmpeg (9.1)

Products include FFmpeg.

CPE match criteria 1
CPE 2.3Versions
cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*before 9.1

How do I fix CVE-2026-137911?

Upgrade FFmpeg to 9.1 or later. The advisory says that version fixes it.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-137911 being exploited?

There is no known exploitation of CVE-2026-137911 in the wild and no public exploit code.

All FFmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-137911, ECHO-8067-e845-27e0, GHSA-xgxc-wj9p-wmwj.

Is CVE-2026-137911 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free