BIT-python-min-2026-4224: 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 containing an inline document type definition. The risk is most relevant where such XML can be influenced by a remote party.

2

What must an attacker provide to trigger the issue?

The attacker must cause the affected parser to process an inline document type definition with a deeply nested content model. Exploitation also depends on the application having registered an ElementDeclHandler.

3

What is the expected security impact?

The reported outcome is a C stack overflow. The supplied impact vector indicates high availability impact, with no confidentiality or integrity impact.

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