{"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-15308 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.15.","what":"CVE-2026-15308 is a high-severity denial of service vulnerability in Python Python, published on 9 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-15308 and fix it if it is affected.\n\nWhat it is: CVE-2026-15308 is a high-severity denial of service vulnerability in Python Python, published on 9 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-15308 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.15, 3.14.7\n- python (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7\n- python-min (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7\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-15308/ (Markdown: https://insights.sbomify.com/CVE-2026-15308/index.md)","id":"CVE-2026-15308","markdown":"https://insights.sbomify.com/CVE-2026-15308/index.md","name":"CVE-2026-15308","record":{"aliases":["ALPINE-CVE-2026-15308","ALSA-2026:39183","ALSA-2026:39320","ALSA-2026:39771","ALSA-2026:39798","ALSA-2026:39893","ALSA-2026:40856","ALSA-2026:41949","AZL-109701","AZL-92271","BELL-CVE-2026-15308","BIT-libpython-2026-15308","BIT-python-2026-15308","BIT-python-min-2026-15308","CLSA-2026-1784019126","CLSA-2026-1784019434","CLSA-2026-1784036547","CLSA-2026-1784070836","CLSA-2026-1784071323","CLSA-2026-1784072295","CLSA-2026-1784110083","CLSA-2026-1784110442","CLSA-2026-1784126834","CLSA-2026-1784137549","CLSA-2026-1784188935","CLSA-2026-1784218124","CLSA-2026-1784218371","CLSA-2026-1784270796","CLSA-2026-1784280875","CLSA-2026-1784297320","CLSA-2026-1784713418","CLSA-2026-1784713911","CLSA-2026-1784798087","CLSA-2026-1784798441","CLSA-2026-1784798564","CLSA-2026-1784798816","CLSA-2026-1784798883","CLSA-2026-1784799167","CLSA-2026-1786707590","DEBIAN-CVE-2026-15308","ECHO-ddd3-d328-2db3","GHSA-7qj2-q5c8-cxx5","MINI-5825-c5x3-6mv2","MINI-6cv3-h6mc-9hrw","MINI-7grw-h2m7-h6mw","MINI-9683-7wp9-4mrq","MINI-h373-2x6g-qvvj","PSF-2026-33","RHSA-2026:37533","RHSA-2026:37535","RHSA-2026:39183","RHSA-2026:39320","RHSA-2026:39771","RHSA-2026:39798","RHSA-2026:39893","RHSA-2026:40856","RHSA-2026:41949","RHSA-2026:47939","RHSA-2026:50064","RHSA-2026:50065","RHSA-2026:50770","RHSA-2026:50771","RHSA-2026:50816","RLSA-2026:39183","RLSA-2026:39320","RLSA-2026:39771","RLSA-2026:39798","RLSA-2026:39893","RLSA-2026:40856","RLSA-2026:41949","ROOT-OS-ALPINE-320-CVE-2026-15308","ROOT-OS-DEBIAN-11-CVE-2026-15308","ROOT-OS-DEBIAN-12-CVE-2026-15308","ROOT-OS-DEBIAN-13-CVE-2026-15308","UBUNTU-CVE-2026-15308"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"none","summary":"Attackers can cause CPU exhaustion and denial of service in applications using Python's HTMLParser by sending repeated unterminated markup declarations.","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":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"The incremental HTML parser (html.parser.HTMLParser) allows for CPU\ndenial-of-service through repeated unterminated markup declarations when\nprocessing uncontrolled data.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:enterprise_linux_eus:10.0","Red Hat:hummingbird:1","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus:9.6::crb","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_eus_long_life:8.6::appstream","Red Hat:rhel_eus_long_life:8.6::baseos","Red Hat:rhel_tus:8.8::appstream","Red Hat:rhel_tus:8.8::baseos","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"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":"Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations","id":"CVE-2026-15308","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"python:python","products":["python:python"],"type":"denial_of_service","year":"2026"},"n_packages":318,"n_references":10,"next":{"headline":"zipfile: bzip2/LZMA/Zstandard members decompress without a max_length bound, defeating chunked-read memory limits","id":"CVE-2026-15310"},"packages":[{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.15","3.14.7"],"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-15308"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.15","3.14.7"],"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-15308"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.15","3.14.7"],"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-15308"},{"ecosystem":"AlmaLinux:10","fixed":["3.12.13-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/almalinux/python-unversioned-command","source":"ALSA-2026:39183"},{"ecosystem":"AlmaLinux:10","fixed":["3.12.13-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/almalinux/python3","source":"ALSA-2026:39183"},{"ecosystem":"AlmaLinux:10","fixed":["3.12.13-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3-debug","purl":"pkg:rpm/almalinux/python3-debug","source":"ALSA-2026:39183"},{"ecosystem":"AlmaLinux:10","fixed":["3.12.13-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3-devel","purl":"pkg:rpm/almalinux/python3-devel","source":"ALSA-2026:39183"},{"ecosystem":"AlmaLinux:10","fixed":["3.12.13-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/almalinux/python3-idle","source":"ALSA-2026:39183"},{"ecosystem":"AlmaLinux:10","fixed":["3.12.13-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/almalinux/python3-libs","source":"ALSA-2026:39183"},{"ecosystem":"AlmaLinux:10","fixed":["3.12.13-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/almalinux/python3-test","source":"ALSA-2026:39183"},{"ecosystem":"AlmaLinux:10","fixed":["3.12.13-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/almalinux/python3-tkinter","source":"ALSA-2026:39183"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14","purl":"pkg:rpm/almalinux/python3.14","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-debug","purl":"pkg:rpm/almalinux/python3.14-debug","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-devel","purl":"pkg:rpm/almalinux/python3.14-devel","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading","purl":"pkg:rpm/almalinux/python3.14-freethreading","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-debug","purl":"pkg:rpm/almalinux/python3.14-freethreading-debug","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-devel","purl":"pkg:rpm/almalinux/python3.14-freethreading-devel","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-idle","purl":"pkg:rpm/almalinux/python3.14-freethreading-idle","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-libs","purl":"pkg:rpm/almalinux/python3.14-freethreading-libs","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-test","purl":"pkg:rpm/almalinux/python3.14-freethreading-test","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-tkinter","purl":"pkg:rpm/almalinux/python3.14-freethreading-tkinter","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-idle","purl":"pkg:rpm/almalinux/python3.14-idle","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-libs","purl":"pkg:rpm/almalinux/python3.14-libs","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-test","purl":"pkg:rpm/almalinux/python3.14-test","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:10","fixed":["3.14.5-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.14-tkinter","purl":"pkg:rpm/almalinux/python3.14-tkinter","source":"ALSA-2026:40856"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-77.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"platform-python","purl":"pkg:rpm/almalinux/platform-python","source":"ALSA-2026:39320"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-77.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"platform-python-debug","purl":"pkg:rpm/almalinux/platform-python-debug","source":"ALSA-2026:39320"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-77.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"platform-python-devel","purl":"pkg:rpm/almalinux/platform-python-devel","source":"ALSA-2026:39320"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-77.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/almalinux/python3-idle","source":"ALSA-2026:39320"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-77.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/almalinux/python3-libs","source":"ALSA-2026:39320"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-77.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/almalinux/python3-test","source":"ALSA-2026:39320"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-77.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/almalinux/python3-tkinter","source":"ALSA-2026:39320"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.13-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/almalinux/python3.12","source":"ALSA-2026:39893"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.13-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-debug","purl":"pkg:rpm/almalinux/python3.12-debug","source":"ALSA-2026:39893"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.13-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-devel","purl":"pkg:rpm/almalinux/python3.12-devel","source":"ALSA-2026:39893"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.13-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-idle","purl":"pkg:rpm/almalinux/python3.12-idle","source":"ALSA-2026:39893"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.13-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-libs","purl":"pkg:rpm/almalinux/python3.12-libs","source":"ALSA-2026:39893"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.13-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-rpm-macros","purl":"pkg:rpm/almalinux/python3.12-rpm-macros","source":"ALSA-2026:39893"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.13-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-test","purl":"pkg:rpm/almalinux/python3.12-test","source":"ALSA-2026:39893"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.13-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/almalinux/python3.12-tkinter","source":"ALSA-2026:39893"}],"prev":{"headline":"Server-side file-write and request forgery via spatial lookups","id":"CVE-2026-15307"},"products":["CPython"],"published":"2026-07-09","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":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2019-13404","kev_date_added":null,"published":"2019-07-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-13","vendors":["Python Software Foundation"]},"summary":"Attackers can cause CPU exhaustion and denial of service in applications using Python's HTMLParser by sending repeated unterminated markup declarations.","url":"https://insights.sbomify.com/CVE-2026-15308/"}