PSF-2026-12: Stack overflow parsing XML with deeply nested DTD content models

Published Mar 16, 2026
·
Updated

When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content model a C stack overflow occurs.

Affected Software

1 affected component
Expat Expat

Event History

Mar 16, 2026
CVE Published
via OSV·05:52 PM
Data Sourced
via OSV·05:52 PM
DescriptionSeverity

Frequently Asked Questions

1

Which deployments are exposed?

Deployments are exposed when an Expat parser has an ElementDeclHandler registered and parses XML documents that can contain an inline document type definition. The stated impact is a C stack overflow causing high availability impact.

2

What does an attacker need to trigger the issue?

An attacker needs to supply or influence an XML document with an inline DTD whose content model is deeply nested. No user interaction is required, but the attacker must be able to reach parsing performed with a registered ElementDeclHandler.

3

How can I determine whether my application is at risk?

Review Expat parser initialization for registration of an ElementDeclHandler, and identify whether that parser processes XML with inline document type definitions from untrusted or attacker-influenced sources. The provided information does not identify affected versions or a fixed version.

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