{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-3189 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2016-3189 is a medium-severity use after free vulnerability in Python Python, published on 30 Jun 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-3189 and fix it if it is affected.\n\nWhat it is: CVE-2016-3189 is a medium-severity use after free vulnerability in Python Python, published on 30 Jun 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2016-3189 in the wild and no public exploit code.\n\nAffected product: Python Python. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2016-3189/ (Markdown: https://insights.sbomify.com/CVE-2016-3189/index.md)","id":"CVE-2016-3189","markdown":"https://insights.sbomify.com/CVE-2016-3189/index.md","name":"CVE-2016-3189","record":{"aliases":["ALPINE-CVE-2016-3189","CLEANSTART-2026-JO91864","DEBIAN-CVE-2016-3189","GHSA-mg3q-2g68-qp7w","JLSEC-2025-10","MGASA-2016-0400","PSF-2016-5","SUSE-SU-2019:1206-1","SUSE-SU-2019:1206-2","UBUNTU-CVE-2016-3189","openSUSE-SU-2019:1398-1","openSUSE-SU-2019:1435-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"bzip2 compression library","requires_auth":"none","summary":"Remote attackers can cause a denial of service via a crafted bzip2 file due to a use-after-free error in bzip2recover.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bzip2","vendor":"bzip"},{"product":"python","vendor":"python"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"Use-after-free vulnerability in bzip2recover in bzip2 1.0.6 allows remote attackers to cause a denial of service (crash) via a crafted bzip2 file, related to block ends set to before the start of the block.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Basesystem 15 SP1","openSUSE:Leap 15.0","openSUSE:Leap 15.1"],"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":"Use after free in n/a","id":"CVE-2016-3189","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"python:python","products":["python:python"],"type":"use_after_free","year":"2016"},"n_packages":4,"n_references":25,"next":{"headline":"Denial of service in n/a","id":"CVE-2016-3190"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["1.0.6-5.3.1"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/suse/bzip2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2019:1206-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP1","fixed":["1.0.6-5.3.1"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/suse/bzip2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1","source":"SUSE-SU-2019:1206-2"},{"ecosystem":"openSUSE:Leap 15.0","fixed":["1.0.6-lp150.4.3.1"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/opensuse/bzip2\u0026distro=openSUSE%20Leap%2015.0","source":"openSUSE-SU-2019:1398-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["1.0.6-lp151.5.3.1"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/opensuse/bzip2\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2019:1435-1"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2016-3188"},"products":["n/a"],"published":"2016-06-30","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-12900","kev_date_added":null,"published":"2019-06-19"},{"cvss_score":5.1,"headline":"Integer overflow in n/a","id":"CVE-2010-0405","kev_date_added":null,"published":"2010-09-28"},{"cvss_score":5,"headline":"Path traversal in n/a","id":"CVE-2002-0759","kev_date_added":null,"published":"2003-04-02"},{"cvss_score":4.6,"headline":"Race condition in n/a","id":"CVE-2011-4089","kev_date_added":null,"published":"2014-04-16"},{"cvss_score":4.3,"headline":"Memory corruption in n/a","id":"CVE-2008-1372","kev_date_added":null,"published":"2008-03-18"},{"cvss_score":3.7,"headline":"Race condition in n/a","id":"CVE-2005-0953","kev_date_added":null,"published":"2005-04-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-10-14","vendors":["n/a"]},"summary":"Remote attackers can cause a denial of service via a crafted bzip2 file due to a use-after-free error in bzip2recover.","url":"https://insights.sbomify.com/CVE-2016-3189/"}