{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-4224","id":"CVE-2026-4224","title":"Stack overflow parsing XML with deeply nested DTD content models","description":"When an Expat parser with a registered ElementDeclHandler parses an inline\ndocument type definition containing a deeply nested content model a C stack\noverflow occurs.","descriptionLong":"When an Expat parser with a registered ElementDeclHandler parses an inline\ndocument type definition containing a deeply nested content model a C stack\noverflow occurs.","published":"2026-03-16T17:52:26.639Z","updated":"2026-11-11T13:23:09.472400969Z","reserved":"2026-03-15T18:10:54.886Z","status":"Modified","rejected":false,"assigner":"PSF","metric":{"version":"4.0","score":6,"vector":"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","rating":"medium","source":"PSF"},"metrics":[{"version":"4.0","score":6,"vector":"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","rating":"medium","source":"PSF"},{"version":"4.0","score":6,"vector":"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","rating":"medium","source":"python.org"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"}],"rating":"medium","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.10.21","status":"affected","versionType":"python"},{"version":"3.11.0","lessThan":"3.11.16","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.14","status":"affected","versionType":"python"},{"version":"3.13.0","lessThan":"3.13.13","status":"affected","versionType":"python"},{"version":"3.14.0","lessThan":"3.14.4","status":"affected","versionType":"python"},{"version":"3.15.0a1","lessThan":"3.15.0a8","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-674"],"aliases":["BIT-libpython-2026-4224","BIT-python-2026-4224","BIT-python-min-2026-4224","PSF-2026-12"],"references":[{"url":"https://github.com/python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf532768","tags":["patch","Patch","fix"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/5M7CGUW3XBRY7II4DK43KF7NQQ3TPZ6R/","tags":["vendor-advisory","Third Party Advisory","advisory"]},{"url":"https://github.com/python/cpython/issues/145986","tags":["issue-tracking","Issue Tracking","report"]},{"url":"https://github.com/python/cpython/pull/145987","tags":["patch","Patch","fix","web"]},{"url":"https://github.com/python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3bd4a","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628ee1f3","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/642865ddf4b232da1f3b1f7abcfa3254c4bfe785","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/af856a7177326ac25d9f66cc6dd28b554d914fee","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/24ce88b285f56ee11626cf5e472af3cd8cc7c621","tags":["patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/16/4","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4224.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4224","tags":["advisory"]},{"url":"https://github.com/python/cpython","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00767,"epssPercentile":0.56289,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-4224","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4224","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-4224","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-4224","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}