CVE-2026-4224Uncontrolled Recursion in Software Foundation Cpython

Severity
6.0MEDIUMNVD
EPSS
0.0%
top 91.52%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 16

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 vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected Packages1 packages

CVEListV5python_software_foundation/cpython3.14.03.14.4+2

🔴Vulnerability Details

3
GHSA
GHSA-h46w-ffvp-4pw5: When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content model a C stack2026-03-16
CVEList
Stack overflow parsing XML with deeply nested DTD content models2026-03-16
OSV
CVE-2026-4224: When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content model a C stack2026-03-16

📋Vendor Advisories

3
Red Hat
cpython: Stack overflow parsing XML with deeply nested DTD content models2026-03-16
Microsoft
Stack overflow parsing XML with deeply nested DTD content models2026-03-10
Debian
CVE-2026-4224: pypy3 - When an Expat parser with a registered ElementDeclHandler parses an inline docum...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-4224 Impact, Exploitability, and Mitigation Steps | Wiz

💬Community

5
Bugzilla
CVE-2026-4224 python3.15: Stack overflow parsing XML with deeply nested DTD content models [fedora-all]2026-03-16
Bugzilla
CVE-2026-4224 cpython: Stack overflow parsing XML with deeply nested DTD content models2026-03-16
Bugzilla
CVE-2026-4224 python3.13: Stack overflow parsing XML with deeply nested DTD content models [fedora-all]2026-03-16
Bugzilla
CVE-2026-4224 mingw-python3: Stack overflow parsing XML with deeply nested DTD content models [fedora-all]2026-03-16
Bugzilla
CVE-2026-4224 python3.14: Stack overflow parsing XML with deeply nested DTD content models [fedora-all]2026-03-16
CVE-2026-4224 — Uncontrolled Recursion | cvebase