Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python | Python | < 3.10.0 |
Related Weaknesses (CWE)
References
- https://github.com/python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3bd4Patch
- https://github.com/python/cpython/commit/24ce88b285f56ee11626cf5e472af3cd8cc7c62
- https://github.com/python/cpython/commit/642865ddf4b232da1f3b1f7abcfa3254c4bfe78Patch
- https://github.com/python/cpython/commit/af856a7177326ac25d9f66cc6dd28b554d914fePatch
- https://github.com/python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628ee1fPatch
- https://github.com/python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf53276Patch
- https://github.com/python/cpython/issues/145986Issue Tracking
- https://github.com/python/cpython/pull/145987Patch
- https://mail.python.org/archives/list/[email protected]/thread/5M7CGUThird Party Advisory
- http://www.openwall.com/lists/oss-security/2026/03/16/4Mailing ListThird Party Advisory
FAQ
What is CVE-2026-4224?
CVE-2026-4224 is a vulnerability with a CVSS score of 7.5 (HIGH). 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.
How severe is CVE-2026-4224?
CVE-2026-4224 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-4224?
Check the references section above for vendor advisories and patch information. Affected products include: Python Python.