{"id":"BIT-libpython-2026-4224","summary":"Stack overflow parsing XML with deeply nested DTD content models","details":"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.","aliases":["BIT-python-2026-4224","BIT-python-min-2026-4224","CVE-2026-4224","PSF-2026-12"],"modified":"2026-05-20T12:41:33.865380880Z","published":"2026-05-20T11:55:08.191Z","database_specific":{"cpes":["cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/03/16/4"},{"type":"WEB","url":"https://github.com/python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3bd4a"},{"type":"WEB","url":"https://github.com/python/cpython/commit/642865ddf4b232da1f3b1f7abcfa3254c4bfe785"},{"type":"WEB","url":"https://github.com/python/cpython/commit/af856a7177326ac25d9f66cc6dd28b554d914fee"},{"type":"WEB","url":"https://github.com/python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628ee1f3"},{"type":"WEB","url":"https://github.com/python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf532768"},{"type":"WEB","url":"https://github.com/python/cpython/issues/145986"},{"type":"WEB","url":"https://github.com/python/cpython/pull/145987"},{"type":"WEB","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/5M7CGUW3XBRY7II4DK43KF7NQQ3TPZ6R/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4224"}],"affected":[{"package":{"name":"libpython","ecosystem":"Bitnami","purl":"pkg:bitnami/libpython"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.13.13"},{"introduced":"3.14.0"},{"fixed":"3.14.4"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/libpython/BIT-libpython-2026-4224.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}],"schema_version":"1.7.5"}