High severity · published Mar 16, 2026
CVE-2026-4224
Stack overflow parsing XML with deeply nested DTD content models
7.5
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 53% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CP
CPython · Python Software Foundation
before 3.10.21; 3.11.0 before 3.11.16; 3.12.0 before 3.12.14; 3.13.0 before 3.13.13; 3.14.0 before 3.14.4; 3.15.0a1 before 3.15.0a8 · source: vendor
PY
Python · Python
before 3.10.0; 3.13.0 before 3.13.13; 3.14.0 before 3.14.4; 3.15.0; 3.15.0; 3.15.0; +4 more · source: NVD