CVE-2026-4224
6.0medium
Stack overflow parsing XML with deeply nested DTD content models
- Severity
- 6.0medium CVSS:4.0 by PSF
- Exploit likelihood
- 0.77% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- PSF
- Also known as
- PSF-2026-12BIT-LIBPYTHON-2026-4224BIT-PYTHON-2026-4224BIT-PYTHON-MIN-2026-4224
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
| Product or package | Versions | Reported by |
|---|---|---|
| Python Software Foundation CPython | before 3.10.21, from 3.11.0 before 3.11.16, from 3.12.0 before 3.12.14, from 3.13.0 before 3.13.13, from 3.14.0 before 3.14.4, from 3.15.0a1 before 3.15.0a8 | CVE List |
| https://github.com/python/cpython | before eb0e8be3a7e11b87d198a2c3af1ed0eccf532768, before 196edfb06a7458377d4d0f4b3cd41724c1f3bd4a, before e0a8a6da90597a924b300debe045cdb4628ee1f3, before 642865ddf4b232da1f3b1f7abcfa3254c4bfe785, before af856a7177326ac25d9f66cc6dd28b554d914fee, before 24ce88b285f56ee11626cf5e472af3cd8cc7c621 | Python Software Foundation |
| python python | before 3.10.0, from 3.13.0 before 3.13.13, from 3.14.0 before 3.14.4, 3.15.0 | NVD |
| libpython (Bitnami) | before 3.10.21, from 3.11.0 before 3.11.16, from 3.12.0 before 3.12.14, from 3.13.0 before 3.13.13, from 3.14.0 before 3.14.4 | Bitnami Vulnerability Database |
| python (Bitnami) | before 3.10.21, from 3.11.0 before 3.11.16, from 3.12.0 before 3.12.14, from 3.13.0 before 3.13.13, from 3.14.0 before 3.14.4 | Bitnami Vulnerability Database |
| python-min (Bitnami) | before 3.10.21, from 3.11.0 before 3.11.16, from 3.12.0 before 3.12.14, from 3.13.0 before 3.13.13, from 3.14.0 before 3.14.4 | Bitnami Vulnerability Database |
All scores
| PSF | 6.0medium 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Cuando un analizador Expat con un ElementDeclHandler registrado analiza una definición de tipo de documento en línea que contiene un modelo de contenido profundamente anidado, se produce un desbordamiento de pila C.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-4224 changed 2026-08-13 | CVE Terms of Use |
| Python Software Foundation | PSF-2026-12 changed 2026-08-05 | CC-BY-4.0 |
| NVD | CVE-2026-4224 changed 2026-08-13 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPYTHON-2026-4224 changed 2026-09-16 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-2026-4224 changed 2026-09-16 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-MIN-2026-4224 changed 2026-09-16 | Apache-2.0 |