Uncontrolled recursion in Python - CVE-2026-4224

 

Uncontrolled recursion in Python - CVE-2026-4224

Published: March 23, 2026


Vulnerability identifier: #VU124221
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-4224
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Python.org
Affected software:
Python

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to uncontrolled recursion in conv_content_model() when parsing document type definition containing a deeply nested content model. A remote attacker can pass specially crafted input to the application and perform a denial of service attack.


How to mitigate CVE-2026-4224

Install updates from vendor's repository.

Sources