{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min.","exploited":"There is no known exploitation of CVE-2025-8194 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.9.24, 3.10.19, 3.11.14 or 3.12.12.","what":"CVE-2025-8194 is a high-severity denial of service vulnerability in CPython, published on 28 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-8194 and fix it if it is affected.\n\nWhat it is: CVE-2025-8194 is a high-severity denial of service vulnerability in CPython, published on 28 Jul 2025. 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-2025-8194 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.6\n- python (Bitnami): affected all versions; fixed in 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.6\n- python-min (Bitnami): affected all versions; fixed in 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.6\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-2025-8194/ (Markdown: https://insights.sbomify.com/CVE-2025-8194/index.md)","id":"CVE-2025-8194","markdown":"https://insights.sbomify.com/CVE-2025-8194/index.md","name":"CVE-2025-8194","record":{"aliases":["ALSA-2025:14546","ALSA-2025:14560","ALSA-2025:14841","ALSA-2025:14984","ALSA-2025:15007","ALSA-2025:15010","ALSA-2025:15019","AZL-65984","AZL-65987","BELL-CVE-2025-8194","BIT-libpython-2025-8194","BIT-python-2025-8194","BIT-python-min-2025-8194","CLSA-2025-1757500267","CLSA-2025-1757945157","CLSA-2025-1758101854","CLSA-2025-1758101956","CLSA-2025-1759246699","CLSA-2025-1759248934","CLSA-2025-1760982776","CLSA-2025-1760983006","CLSA-2025-1760987651","CLSA-2025-1763033745","CLSA-2025-1763033941","CLSA-2025-1763054281","CLSA-2026-1772576551","CLSA-2026-1772577130","CLSA-2026-1772810768","DEBIAN-CVE-2025-8194","ECHO-053d-4507-0279","GHSA-v594-44hm-2j7p","MINI-3p7v-gq39-844r","MINI-597w-2h7h-wvg8","MINI-crg4-5g4j-62hf","MINI-mwf4-qfwx-7gh4","OESA-2025-2100","OESA-2025-2101","OESA-2025-2102","OESA-2025-2103","PSF-2025-11","RHSA-2025:14546","RHSA-2025:14560","RHSA-2025:14841","RHSA-2025:14984","RHSA-2025:15007","RHSA-2025:15010","RHSA-2025:15019","RHSA-2025:15348","RHSA-2025:15724","RHSA-2025:15800","RHSA-2025:15968","RHSA-2025:16012","RHSA-2025:16016","RHSA-2025:16031","RHSA-2025:16062","RHSA-2025:16078","RHSA-2025:16117","RHSA-2025:16118","RHSA-2025:16151","RHSA-2025:16152","RHSA-2025:16153","RHSA-2025:16262","RLSA-2025:14546","RLSA-2025:14560","RLSA-2025:14841","RLSA-2025:14984","RLSA-2025:15007","RLSA-2025:15010","RLSA-2025:15019","ROOT-OS-UBUNTU-2204-CVE-2025-8194","SUSE-SU-2025:02700-1","SUSE-SU-2025:02701-1","SUSE-SU-2025:02787-1","SUSE-SU-2025:02948-1","SUSE-SU-2025:02982-1","SUSE-SU-2025:02983-1","SUSE-SU-2025:02984-1","SUSE-SU-2025:03032-1","SUSE-SU-2025:20631-1","SUSE-SU-2025:20749-1","UBUNTU-CVE-2025-8194","USN-7710-2","openSUSE-SU-2025:15402-1","openSUSE-SU-2025:15403-1","openSUSE-SU-2025:15404-1","openSUSE-SU-2025:15407-1","openSUSE-SU-2025:15408-1","openSUSE-SU-2025:15409-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python tarfile module","requires_auth":"none","summary":"Attackers can cause a denial of service via infinite loop in Python's tarfile module by providing maliciously crafted archives with negative offsets.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. \n\nThis vulnerability can be mitigated by including the following patch after importing the “tarfile” module:  https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:10.0","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:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.2::baseos","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.6::appstream","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus:9.4::crb","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus: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","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Module for Package Hub 15 SP6","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Python 3 15 SP6","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"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":"Tarfile infinite loop during parsing with negative member offset","id":"CVE-2025-8194","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":924,"n_references":11,"next":{"headline":"Cross-site scripting in JetWidgets For Elementor","id":"CVE-2025-8195"},"packages":[{"ecosystem":"Bitnami","fixed":["3.9.24","3.10.19","3.11.14","3.12.12","3.13.6"],"introduced":["0","3.10.0","3.11.0","3.12.0","3.13.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2025-8194"},{"ecosystem":"Bitnami","fixed":["3.9.24","3.10.19","3.11.14","3.12.12","3.13.6"],"introduced":["0","3.10.0","3.11.0","3.12.0","3.13.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2025-8194"},{"ecosystem":"Bitnami","fixed":["3.9.24","3.10.19","3.11.14","3.12.12","3.13.6"],"introduced":["0","3.10.0","3.11.0","3.12.0","3.13.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2025-8194"},{"ecosystem":"AlmaLinux:10","fixed":["3.12.9-2.el10_0.3"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/almalinux/python-unversioned-command","source":"ALSA-2025:14984"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-71.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"platform-python","purl":"pkg:rpm/almalinux/platform-python","source":"ALSA-2025:14560"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-71.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"platform-python-debug","purl":"pkg:rpm/almalinux/platform-python-debug","source":"ALSA-2025:14560"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-71.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"platform-python-devel","purl":"pkg:rpm/almalinux/platform-python-devel","source":"ALSA-2025:14560"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-71.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/almalinux/python3-idle","source":"ALSA-2025:14560"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-71.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/almalinux/python3-libs","source":"ALSA-2025:14560"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-71.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/almalinux/python3-test","source":"ALSA-2025:14560"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-71.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/almalinux/python3-tkinter","source":"ALSA-2025:14560"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.13-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/almalinux/python3.11","source":"ALSA-2025:14841"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.13-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-debug","purl":"pkg:rpm/almalinux/python3.11-debug","source":"ALSA-2025:14841"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.13-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-devel","purl":"pkg:rpm/almalinux/python3.11-devel","source":"ALSA-2025:14841"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.13-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-idle","purl":"pkg:rpm/almalinux/python3.11-idle","source":"ALSA-2025:14841"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.13-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-libs","purl":"pkg:rpm/almalinux/python3.11-libs","source":"ALSA-2025:14841"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.13-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-rpm-macros","purl":"pkg:rpm/almalinux/python3.11-rpm-macros","source":"ALSA-2025:14841"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.13-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-test","purl":"pkg:rpm/almalinux/python3.11-test","source":"ALSA-2025:14841"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.13-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-tkinter","purl":"pkg:rpm/almalinux/python3.11-tkinter","source":"ALSA-2025:14841"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.11-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/almalinux/python3.12","source":"ALSA-2025:14546"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.11-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-debug","purl":"pkg:rpm/almalinux/python3.12-debug","source":"ALSA-2025:14546"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.11-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-devel","purl":"pkg:rpm/almalinux/python3.12-devel","source":"ALSA-2025:14546"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.11-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-idle","purl":"pkg:rpm/almalinux/python3.12-idle","source":"ALSA-2025:14546"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.11-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-libs","purl":"pkg:rpm/almalinux/python3.12-libs","source":"ALSA-2025:14546"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.11-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-rpm-macros","purl":"pkg:rpm/almalinux/python3.12-rpm-macros","source":"ALSA-2025:14546"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.11-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-test","purl":"pkg:rpm/almalinux/python3.12-test","source":"ALSA-2025:14546"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.11-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/almalinux/python3.12-tkinter","source":"ALSA-2025:14546"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.21-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/almalinux/python-unversioned-command","source":"ALSA-2025:15019"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.21-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/almalinux/python3","source":"ALSA-2025:15019"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.21-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3-debug","purl":"pkg:rpm/almalinux/python3-debug","source":"ALSA-2025:15019"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.21-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3-devel","purl":"pkg:rpm/almalinux/python3-devel","source":"ALSA-2025:15019"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.21-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/almalinux/python3-idle","source":"ALSA-2025:15019"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.21-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/almalinux/python3-libs","source":"ALSA-2025:15019"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.21-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/almalinux/python3-test","source":"ALSA-2025:15019"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.21-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/almalinux/python3-tkinter","source":"ALSA-2025:15019"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.11-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/almalinux/python3.11","source":"ALSA-2025:15010"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.11-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3.11-debug","purl":"pkg:rpm/almalinux/python3.11-debug","source":"ALSA-2025:15010"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.11-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3.11-devel","purl":"pkg:rpm/almalinux/python3.11-devel","source":"ALSA-2025:15010"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.11-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3.11-idle","purl":"pkg:rpm/almalinux/python3.11-idle","source":"ALSA-2025:15010"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.11-2.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"python3.11-libs","purl":"pkg:rpm/almalinux/python3.11-libs","source":"ALSA-2025:15010"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-8193"},"products":["CPython"],"published":"2025-07-28","related":[],"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":"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-07-31","vendors":["Python Software Foundation"]},"summary":"Attackers can cause a denial of service via infinite loop in Python's tarfile module by providing maliciously crafted archives with negative offsets.","url":"https://insights.sbomify.com/CVE-2025-8194/"}