JLSEC-2026-1404: High severity julia/expat_jll vulnerability
libexpat 2.7.2 through 2.9.0 contains a denial of service vulnerability because XMLParserReset zeroes the direct byte count but never offsets tracked heap allocations. Attackers can submit a large XML document so later documents on the same reset parser fail with XMLERRORNOMEMORY until it is recreated.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Expat_jllto a version that resolves this vulnerability.Fixed in 2.10.0+0
Event History
Frequently Asked Questions
Who is exposed to this denial of service?
Applications using julia/expat_jll with libexpat versions 2.7.2 through 2.9.0 are exposed if they reuse an XML parser via XML_ParserReset after processing attacker-controlled XML.
What must an attacker do to trigger the issue?
An attacker must be able to submit a large XML document to a parser that is later reset and reused. The initial document causes tracked heap allocations to remain unoffset after the reset, making later documents fail with XML_ERROR_NO_MEMORY.
Does exploitation require authentication or user interaction?
No. The supplied vector indicates network access, low attack complexity, no privileges required, and no user interaction.
What can be done if the affected library cannot be updated immediately?
Avoid reusing parsers with XML_ParserReset for untrusted XML; recreate the parser instead. This prevents later requests from inheriting the allocation-accounting state described in the issue.
How can an application detect that it may already be affected?
Look for XML parsing failures returning XML_ERROR_NO_MEMORY on documents processed after a parser reset, particularly after a large XML document was handled by the same parser instance.