CVE-2026-4224
7.5 HIGHWhen an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content mo...
Published: 2026-03-16 · Last updated: 2026-06-04
Severity and scoring
- CVSS
- 7.5 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CWE
- CWE-674
Affected products
| Vendor | Product |
|---|---|
| python | python |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-4224
- [Patch]https://github.com/python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3bd4a
- [Patch]https://github.com/python/cpython/commit/642865ddf4b232da1f3b1f7abcfa3254c4bfe785
- [Patch]https://github.com/python/cpython/commit/af856a7177326ac25d9f66cc6dd28b554d914fee
- [Patch]https://github.com/python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628ee1f3
- [Patch]https://github.com/python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf532768
- [Other]https://github.com/python/cpython/issues/145986
- [Patch]https://github.com/python/cpython/pull/145987
- [Other]https://mail.python.org/archives/list/security-announce@python.org/thread/5M7CGUW3XBRY7II4DK43KF7NQQ3TPZ6R/
- [Other]http://www.openwall.com/lists/oss-security/2026/03/16/4
Related CVEs
Same vendor
- CVE-2026-7210 — `xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML d... (9.8 CRITICAL)
- CVE-2026-3087 — If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...`) then the archive will be... (7.5 HIGH)
- CVE-2026-6019 — http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context (6.1 MEDIUM)
- CVE-2026-3644 — The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete (7.5 HIGH)
- CVE-2025-13462 — The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member suc... (9.8 CRITICAL)
Same CWE
- CVE-2026-48734 — ImageMagick is free and open-source software used for editing and manipulating digital images (5.5 MEDIUM)
- CVE-2026-46557 — ImageMagick is free and open-source software used for editing and manipulating digital images (6.2 MEDIUM)
- CVE-2026-46689 — Kanidm is an identity management platform
- CVE-2026-45664 — ImageMagick is free and open-source software used for editing and manipulating digital images (5.3 MEDIUM)
- CVE-2026-9740 — A vulnerability in MongoDB Server's BSON validation logic allows an unauthenticated user to crash the mongod process by sending a special... (7.5 HIGH)