Stack Overflow Vulnerability in Python's Expat Parser Affecting Document Type Definitions
CVE-2026-4224
6MEDIUM
What is CVE-2026-4224?
The Expat parser in Python is susceptible to a stack overflow vulnerability when parsing inline document type definitions that contain deeply nested content models with a registered ElementDeclHandler. This flaw can lead to unexpected behavior and potential crashes, making it crucial for developers to review and apply patches to mitigate the risks associated with this parsing issue.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
CPython 0 < 3.15.0
References
CVSS V4
Score:
6
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Gil Portnoy
Stan Ulbrych
Bénédikt Tran
Stan Ulbrych
