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: 6.9 [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]
CVE-ID: CVE-2026-4224
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Python

How to mitigate CVE-2026-4224

Install updates from vendor's repository.


External References

Related Security Bulletins