CVE-2026-4224
Medium
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.
SeverityMedium
CVSS6.0
Exploit probability54. percentile0.7%
Product
Python
PublishedMar 16, 2026
First seenMar 16, 2026
Weakness typeCWE-674CWE-674
How to fix
Update
- python python3.10.0, 3.13.13, 3.14.4 or later
Patches
- github.com/python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf532768
- github.com/python/cpython/pull/145987
- github.com/python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3bd4a
- github.com/python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628ee1f3
- github.com/python/cpython/commit/642865ddf4b232da1f3b1f7abcfa3254c4bfe785
- github.com/python/cpython/commit/af856a7177326ac25d9f66cc6dd28b554d914fee
- github.com/python/cpython/commit/24ce88b285f56ee11626cf5e472af3cd8cc7c621
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python python | v < 3.10.0, 3.13.0 ≤ v < 3.13.13, 3.14.0 ≤ v < 3.14.4, 3.15.0 | 3.10.0, 3.13.13, 3.14.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.