CVE-2026-4224
Vulnerability Summary
Timeline
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 Metrics
- v4.0•MEDIUM•Score: 6CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- v4.0•MEDIUM•Score: 6CVSS: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
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.69%• Percentile: 51%
Techniques & Countermeasures
- CWE-674•Uncontrolled Recursion
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Affected Systems
- alpine•python3
< 3.14.5-r0
- chainguard•python-3.10
all | < 3.10.21-r6
- chainguard•python-3.11
< 3.11.15-r9
- chainguard•python-3.12
all | < 3.12.14-r8
- chainguard•python-3.13
< 3.13.12-r7
- chainguard•python-3.14
< 3.14.3-r6
- chainguard•python-3.9
all
- wolfi•python-3.10
all | < 3.10.21-r6
- wolfi•python-3.11
< 3.11.15-r9
- wolfi•python-3.12
all | < 3.12.14-r8
- wolfi•python-3.13
< 3.13.12-r7
- wolfi•python-3.14
< 3.14.3-r6
- debian•python2.7
all
- debian•python3.11
< 3.11.2-6+deb12u8
- debian•python3.13
< 3.13.5-2+deb13u2 | < 3.13.14-1
- debian•python3.14
< 3.14.3-4
- debian•python3.9
< 3.9.2-1+deb11u7
- ubuntu•pypy3
all | all | all | all | all
- ubuntu•python2.7
all | < 2.7.6-8ubuntu0.6+esm30 | < 2.7.12-1ubuntu0~16.04.18+esm22 | < 2.7.17-1~18.04ubuntu1.13+esm15 | < 2.7.18-13ubuntu1.5+esm9
- ubuntu•python3.10
< 3.10.12-1~22.04.16
- ubuntu•python3.11
all | all | < 3.11.0~rc1-1~22.04.1+esm2
- ubuntu•python3.12
< 3.12.3-1ubuntu0.15
- ubuntu•python3.13
all
- ubuntu•python3.14
all
- ubuntu•python3.4
all | < 3.4.3-1ubuntu1~14.04.7+esm21
- ubuntu•python3.5
all | < 3.5.2-2ubuntu0~16.04.4~14.04.1+esm11 | < 3.5.2-2ubuntu0~16.04.13+esm25
- ubuntu•python3.6
all | < 3.6.9-1~18.04ubuntu1.13+esm10
- ubuntu•python3.7
all | < 3.7.5-2ubuntu1~18.04.2+esm11
- ubuntu•python3.8
all | < 3.8.0-3ubuntu1~18.04.2+esm11 | < 3.8.10-0ubuntu1~20.04.18+esm7
- ubuntu•python3.9
all | < 3.9.5-3ubuntu0~20.04.1+esm11
- python software foundation•cpython
< 3.15.0 | < 3.14.4 | < 3.13.13 | < 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.0a8
- python•python
< 3.10.0 | ≥ 3.13.0, < 3.13.13 | ≥ 3.14.0, < 3.14.4 | 3.15.0:alpha1 | 3.15.0:alpha2 | 3.15.0:alpha3 | 3.15.0:alpha4 | 3.15.0:alpha5 | 3.15.0:alpha6 | 3.15.0:alpha7
References (19)
- https://github.com/python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf532768
- https://mail.python.org/archives/list/security-announce@python.org/thread/5M7CGUW3XBRY7II4DK43KF7NQQ3TPZ6R/
- https://github.com/python/cpython/issues/145986
- https://github.com/python/cpython/pull/145987
- https://github.com/python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3bd4a
- https://github.com/python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628ee1f3
- http://www.openwall.com/lists/oss-security/2026/03/16/4
- https://github.com/python/cpython/commit/642865ddf4b232da1f3b1f7abcfa3254c4bfe785
- https://github.com/python/cpython/commit/af856a7177326ac25d9f66cc6dd28b554d914fee
- https://github.com/python/cpython/commit/24ce88b285f56ee11626cf5e472af3cd8cc7c621
- https://ubuntu.com/security/CVE-2026-4224
- https://www.cve.org/CVERecord?id=CVE-2026-4224
- https://ubuntu.com/security/notices/USN-8509-1
- https://security-tracker.debian.org/tracker/CVE-2026-4224
- https://security.alpinelinux.org/vuln/CVE-2026-4224
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4224.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-4224
- https://github.com/python/cpython
- https://ubuntu.com/security/notices/USN-8744-1