AZL-117481: CVE-2026-141596 affecting package expat 2.9.0-1
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 this issue?
Applications using libexpat through 2.11.0 are exposed if they parse attacker-controlled XML and have handlers that suspend parsing while processing a CDATA section within an internal general entity.
What does an attacker need to trigger the vulnerability?
An attacker needs to provide a crafted XML document to a vulnerable application. Exploitation depends on the application's XML handler behavior: the handler must suspend the parser in the affected CDATA context.
What is the expected impact of successful exploitation?
The malformed parser state can lead to a NULL pointer dereference in doContent() in lib/xmlparse.c, causing the affected application to crash.