CVE-2026-4224 Details
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.
A stack overflow vulnerability has been identified in the Python CPython Expat parser. This issue occurs when the parser, with a registered ElementDeclHandler, processes an inline document type definition (DTD) that contains a deeply nested content model. The vulnerability leads to unbounded C recursion, causing a crash. This issue affects CPython versions 3.10, 3.11, 3.12, 3.13, 3.14, and the main branch.
Users can update to the latest version of Python CPython where this vulnerability has been fixed. Instructions for updating can be found in the Python documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| python python | < 3.10.0 >= 3.13.0, < 3.13.13 >= 3.14.0, < 3.14.4 3.15.0 alpha1 3.15.0 alpha2 3.15.0 alpha3 3.15.0 alpha4 3.15.0 alpha5 3.15.0 alpha6 3.15.0 alpha7 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 13, 2026 | CVE Modified | [email protected] |
| Aug 5, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 4, 2026 | Initial Analysis | [email protected] |
| Apr 8, 2026 | CVE Modified | [email protected] |
| Mar 17, 2026 | CVE Modified | CVE |
| Mar 16, 2026 | CVE Modified | CISA-ADP |
| Mar 16, 2026 | New CVE Received | [email protected] |