{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-4224 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.10.21, 3.11.16, 3.12.14 or 3.13.13.","what":"CVE-2026-4224 is a medium-severity denial of service vulnerability in Python Python, published on 16 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-4224 and fix it if it is affected.\n\nWhat it is: CVE-2026-4224 is a medium-severity denial of service vulnerability in Python Python, published on 16 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-4224 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.13, 3.14.4\n- python (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.13, 3.14.4\n- python-min (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.13, 3.14.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-4224/ (Markdown: https://insights.sbomify.com/CVE-2026-4224/index.md)","id":"CVE-2026-4224","markdown":"https://insights.sbomify.com/CVE-2026-4224/index.md","name":"CVE-2026-4224","record":{"aliases":["ALPINE-CVE-2026-4224","AZL-109707","AZL-80046","BELL-CVE-2026-4224","BIT-libpython-2026-4224","BIT-python-2026-4224","BIT-python-min-2026-4224","CLSA-2026-1782979631","CLSA-2026-1782979680","CLSA-2026-1782983048","DEBIAN-CVE-2026-4224","ECHO-7dc2-599b-22cd","GHSA-h46w-ffvp-4pw5","MINI-53h7-9mwx-5cvh","MINI-57m4-ch2q-7q76","MINI-c4g9-p3xf-8gpq","MINI-g56x-qqhr-j2wr","MINI-vmcj-5q2w-f625","PSF-2026-12","ROOT-OS-ALPINE-320-CVE-2026-4224","UBUNTU-CVE-2026-4224"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Python XML parser","requires_auth":"low_privilege","summary":"A stack overflow in the Expat parser within CPython can cause a denial of service when processing deeply nested XML DTD content models with a registered handler.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[{"product":"python","vendor":"python"}],"cvss":{"score":6,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"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.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Stack overflow parsing XML with deeply nested DTD content models","id":"CVE-2026-4224","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"python:python","products":["python:python"],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":9,"next":{"headline":"CMS Made Simple User Management listusers.php cross site scripting","id":"CVE-2026-4225"},"packages":[{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.13","3.14.4"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2026-4224"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.13","3.14.4"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2026-4224"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.13","3.14.4"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2026-4224"}],"prev":{"headline":"itsourcecode Payroll Management System manage_employee.php sql injection","id":"CVE-2026-4223"},"products":["CPython"],"published":"2026-03-16","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2008-5031","kev_date_added":null,"published":"2008-11-10"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2014-4650","kev_date_added":null,"published":"2020-02-20"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-5636","kev_date_added":null,"published":"2016-09-02"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2007-4559","kev_date_added":null,"published":"2007-08-28"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-17522","kev_date_added":null,"published":"2017-12-14"},{"cvss_score":8.7,"headline":"Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations","id":"CVE-2026-15308","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2019-13404","kev_date_added":null,"published":"2019-07-08"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-13","vendors":["Python Software Foundation"]},"summary":"A stack overflow in the Expat parser within CPython can cause a denial of service when processing deeply nested XML DTD content models with a registered handler.","url":"https://insights.sbomify.com/CVE-2026-4224/"}