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
DataStage on Cloud Pak for Data
Anolis OS
python3.12
python3.12-debug
python3.12-devel
python3.12-idle
python3.12-libs
python3.12-test
python3.12-tkinter

How to mitigate CVE-2026-4224

Install updates from vendor's repository.

DataStage on Cloud Pak for Data - addressed in versions 5.3.1 patch 8, 5.4.0.0 patch 4
python3.12 - update to 3.12.13-11
python3.12-debug - update to 3.12.13-11
python3.12-devel - update to 3.12.13-11
python3.12-idle - update to 3.12.13-11
python3.12-libs - update to 3.12.13-11
python3.12-test - update to 3.12.13-11
python3.12-tkinter - update to 3.12.13-11

External References

Related Security Bulletins