CVE-2026-4224
EPSS 0.05%Stack overflow parsing XML with deeply nested DTD content models
Published: 3/16/2026Modified: 5/20/2026
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.
Affected packages (8)
- Bitnami/libpythonfrom 0, < 3.13.13, >= 3.14.0, < 3.14.4
- Bitnami/pythonfrom 0, < 3.13.13, >= 3.14.0, < 3.14.4
- Bitnami/python-minfrom 0, < 3.13.13, >= 3.14.0, < 3.14.4
- Debian/python2.7from 0
- Debian/python3.11from 0
- Debian/python3.13from 0, < 3.13.5-2+deb13u2
- Debian/python3.14from 0, < 3.14.3-4
- Debian/python3.9from 0, < 3.9.2-1+deb11u7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
References (11)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-4224
- WEBhttps://github.com/python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3bd4a
- WEBhttps://github.com/python/cpython/commit/642865ddf4b232da1f3b1f7abcfa3254c4bfe785
- WEBhttps://github.com/python/cpython/commit/af856a7177326ac25d9f66cc6dd28b554d914fee
- WEBhttps://github.com/python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628ee1f3
- WEBhttps://github.com/python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf532768
- WEBhttps://github.com/python/cpython/issues/145986
- WEBhttps://github.com/python/cpython/pull/145987
- WEBhttps://mail.python.org/archives/list/[email protected]/thread/5M7CGUW3XBRY7II4DK43KF7NQQ3TPZ6R/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2026-4224
- WEBhttp://www.openwall.com/lists/oss-security/2026/03/16/4