CVE-2026-4224Published Mar 16, 2026 · Mar 16Updated Nov 11
Stack overflow parsing XML with deeply nested DTD content models
Python Software Foundation CPython
Medium6.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Python Software Foundation CPython |
| No fix yet |
Original 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.