Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-137951 — libexpat

Medium · CVSS 6.3EPSS 0.6% First seen November 27, 2026

One of 2 libexpat vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.3 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Special conditions
only in some setups or conditions
Login needed
no
User action needed
no
Impact
low on confidentiality and availability, none on integrity
Impact on other systems
none

Vector 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 4.8 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
libexpat≥ 2.6.0, ≤ 2.11.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • libexpat

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-137951?

libexpat 2.6.0 through 2.11.0 built with XMLGE=0 and XMLUNICODE 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 type: Out-of-bounds Read (CWE-125).

How severe is CVE-2026-137951?

CVE-2026-137951 has a CVSS 4.0 base score of 6.3 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-137951 being exploited?

Not as far as is known: CVE-2026-137951 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-137951?

libexpat ≥ 2.6.0, ≤ 2.11.0.

How do I fix CVE-2026-137951?

Follow the advisories and patches linked on this page under References for fixed versions and workarounds.

Timeline & sources

References