CVE-2026-137951 libexpat 2.6.0 through 2.11.0 Out-of-Bounds Read via storeSelfEntityValue

Published Updated

Crafted XML with a DOCTYPE can expose memory or crash libexpat builds with XML_GE=0 and XML_UNICODE.

CVSS score

Medium

6.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Over the internet
No login, no user action

What is CVE-2026-137951?

CVE-2026-137951 is a medium-severity memory corruption vulnerability in libexpat, published on 27 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libexpat 2.6.0 through 2.11.0 built with XML_GE=0 and XML_UNICODE contains an out-of-bounds read in storeSelfEntityValue() because narrow string literals are treated as wide strings. Attackers can supply an XML document whose DOCTYPE declares a general entity to expose adjacent static memory through the entity value or crash the parser.

Weakness: CWE-125

How severe is CVE-2026-137951?

CVE-2026-137951 scores 6.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

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

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-137951?

1 open source package ship an affected version, including libexpat/libexpat.

Only installations with a non-default setting turned on are exposed.

PackageAffectedFixed in
libexpat/libexpat GitHub
pkg:github/libexpat/libexpat
From 2.6.0 to 2.11.0None

How do I fix CVE-2026-137951?

No fix published yet.

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

Is CVE-2026-137951 being exploited?

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

Sources

Also known as AZL-116345, DEBIAN-CVE-2026-137951, ECHO-2475-be69-3cbf, GHSA-76gj-4ccc-qrh6.

Is CVE-2026-137951 in your software?

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

Check your SBOMs for free