CVE-2026-4224

published 16 Mar 2026 · updated 28 Oct 2026

Stack overflow parsing XML with deeply nested DTD content models

6.0MediumCVSS 6.0EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.10.21, 3.11.16, 3.12.14 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<3.10.21, >=3.11.0 <3.11.16, >=3.12.0 <3.12.14, >=3.13.0 <3.13.13, >=3.14.0 <3.14.4, >=3.15.0a1 <3.15.0a83.10.21, 3.11.16, 3.12.14, 3.13.13, 3.14.4, 3.15.0a8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-4224 severity on Zeptric[![CVE-2026-4224](https://zeptric.io/badge/cve/CVE-2026-4224.svg)](https://zeptric.io/cve/CVE-2026-4224)