CVE-2026-141596: libexpat through 2.11.0 NULL Pointer Dereference via Entity CDATA Suspension
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.
Affected Software
Event History
Frequently Asked Questions
Which applications are exposed to a crash from this issue?
Applications using libexpat through 2.11.0 are exposed when they parse attacker-controlled XML and have handlers that can suspend parsing while processing a CDATA section inside an internal general entity. The documented impact is denial of service through an application crash.
What must an attacker provide to trigger the vulnerability?
An attacker must supply a crafted XML document containing the relevant CDATA and internal general-entity structure. Exploitation also depends on the application suspending the parser from a handler during that CDATA processing.
Is every default libexpat deployment affected?
The available information does not establish that all default deployments are exploitable. The vulnerable condition specifically requires an application handler that suspends the parser inside the affected CDATA processing path.