CVE-2026-141596: libexpat through 2.11.0 NULL Pointer Dereference via Entity CDATA Suspension

Published Dec 2, 2026
·
Updated

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

1 affected component
Expat Expat<=2.11.0

Event History

Dec 2, 2026
CVE Published
via MITRE·01:08 AM
Data Sourced
via MITRE·01:08 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 AM
DescriptionSeverityWeakness
Event
via NVD·02:17 AM

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203