Home › CVE › Vulnerabilities
CVE-2026-141596 — libexpat
One of 2 libexpat vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
libexpat through 2.11.0 contains a NULL pointer dereference vulnerability in doContent() in lib/xmlparse.c that mishandles parser suspension inside CDATA sections within internal general entities. Attackers can supply a crafted XML document to applications whose handlers suspend the parser inside the CDATA section, corrupting parser state and causing a crash.
Severity breakdown
High · 8.2
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
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-476: NULL Pointer Dereference
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| libexpat | ≤ 2.11.0 | — |
References by type
Patches and fixed releases
Other references
Affected
- libexpat
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-141596?
libexpat through 2.11.0 contains a NULL pointer dereference vulnerability in doContent() in lib/xmlparse.c that mishandles parser suspension inside CDATA sections within internal general entities. Attackers can supply a crafted XML document to applications whose handlers suspend the parser inside the CDATA section, corrupting parser state and causing a crash. Weakness type: NULL Pointer Dereference (CWE-476).
How severe is CVE-2026-141596?
CVE-2026-141596 has a CVSS 4.0 base score of 8.2 (high), 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-141596 being exploited?
Not as far as is known: CVE-2026-141596 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-141596?
libexpat ≤ 2.11.0.
How do I fix CVE-2026-141596?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.