What’s Vulnerable › Vulnerabilities

CVE-2026-4224: Stack overflow parsing XML with deeply nested DTD content models

Description

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 products

How to fix

Upgrade to a fixed version: Python 3.10.0, 3.13.13, 3.14.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-4224 or the next vulnerability affects your stack