{"answers":{"affected":"3 open source packages ship an affected version, including bz2, bzlib and bzlib-conduit. It affects 6 products.","exploited":"There is no known exploitation of CVE-2019-12900 in the wild and no public exploit code.","fix":"Upgrade bz2 to 1.0.1.1 or later.","what":"CVE-2019-12900 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 19 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-12900 and fix it if it is affected.\n\nWhat it is: CVE-2019-12900 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 19 Jun 2019. 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-2019-12900 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- bz2 (Hackage): affected from 0.1.0.0; fixed in 1.0.1.1\n- bzlib (Hackage): affected from 0.4; fixed in 0.5.2.0\n- bzlib-conduit (Hackage): affected from 0.1.0.0; fixed in 0.3.0.3\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-2019-12900/ (Markdown: https://insights.sbomify.com/CVE-2019-12900/index.md)","id":"CVE-2019-12900","markdown":"https://insights.sbomify.com/CVE-2019-12900/index.md","name":"CVE-2019-12900","record":{"aliases":["ALPINE-CVE-2019-12900","ALSA-2024:8922","ALSA-2025:0733","ALSA-2025:0925","CLEANSTART-2026-PN21117","CLSA-2024-1731337736","CLSA-2024-1731340993","CLSA-2024-1731341386","CLSA-2026-1777969769","CLSA-2026-1778047964","DEBIAN-CVE-2019-12900","GHSA-j686-6fc2-2525","HSEC-2024-0002","JLSEC-2025-11","MGASA-2019-0338","PSF-2019-4","RHSA-2024:10803","RHSA-2024:8922","RHSA-2025:0733","RHSA-2025:0925","RLSA-2024:8922","RLSA-2025:0733","RLSA-2025:0925","SUSE-SU-2019:14139-1","SUSE-SU-2019:1846-1","SUSE-SU-2019:2004-1","SUSE-SU-2019:2013-1","SUSE-SU-2019:2013-2","UBUNTU-CVE-2019-12900","openSUSE-SU-2019:1781-1","openSUSE-SU-2019:1918-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"bzip2 compression library","requires_auth":"none","summary":"An out-of-bounds write in bzip2 decompression allows attackers to execute arbitrary code or cause denial of service via crafted files.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bzip2","vendor":"bzip"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"freebsd","vendor":"freebsd"},{"product":"leap","vendor":"opensuse"},{"product":"python","vendor":"python"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"BZ2_decompress in decompress.c in bzip2 through 1.0.6 has an out-of-bounds write when there are many selectors.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Hackage","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 4","SUSE:Enterprise Storage 5","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise Desktop 12 SP4","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Basesystem 15 SP1","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP1-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP4","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8","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":"Memory corruption in n/a","id":"CVE-2019-12900","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","freebsd:freebsd","opensuse:leap","python:python"],"type":"memory_corruption","year":"2019"},"n_packages":74,"n_references":23,"next":{"headline":"Path traversal in n/a","id":"CVE-2019-12901"},"packages":[{"ecosystem":"Hackage","fixed":["1.0.1.1"],"introduced":["0.1.0.0"],"last_affected":[],"package":"bz2","purl":"pkg:hackage/bz2","source":"HSEC-2024-0002"},{"ecosystem":"Hackage","fixed":["0.5.2.0"],"introduced":["0.4"],"last_affected":[],"package":"bzlib","purl":"pkg:hackage/bzlib","source":"HSEC-2024-0002"},{"ecosystem":"Hackage","fixed":["0.3.0.3"],"introduced":["0.1.0.0"],"last_affected":[],"package":"bzlib-conduit","purl":"pkg:hackage/bzlib-conduit","source":"HSEC-2024-0002"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.6-27.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/almalinux/bzip2","source":"ALSA-2024:8922"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.6-28.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/almalinux/bzip2","source":"ALSA-2025:0733"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.6-27.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-devel","purl":"pkg:rpm/almalinux/bzip2-devel","source":"ALSA-2024:8922"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.6-28.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-devel","purl":"pkg:rpm/almalinux/bzip2-devel","source":"ALSA-2025:0733"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.6-27.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs","purl":"pkg:rpm/almalinux/bzip2-libs","source":"ALSA-2024:8922"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.6-28.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs","purl":"pkg:rpm/almalinux/bzip2-libs","source":"ALSA-2025:0733"},{"ecosystem":"AlmaLinux:9","fixed":["1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/almalinux/bzip2","source":"ALSA-2025:0925"},{"ecosystem":"AlmaLinux:9","fixed":["1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-devel","purl":"pkg:rpm/almalinux/bzip2-devel","source":"ALSA-2025:0925"},{"ecosystem":"AlmaLinux:9","fixed":["1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs","purl":"pkg:rpm/almalinux/bzip2-libs","source":"ALSA-2025:0925"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-27.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/redhat/bzip2","source":"RHSA-2024:8922"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-28.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/redhat/bzip2","source":"RHSA-2025:0733"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-27.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-debuginfo","purl":"pkg:rpm/redhat/bzip2-debuginfo","source":"RHSA-2024:8922"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-28.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-debuginfo","purl":"pkg:rpm/redhat/bzip2-debuginfo","source":"RHSA-2025:0733"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-27.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-debugsource","purl":"pkg:rpm/redhat/bzip2-debugsource","source":"RHSA-2024:8922"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-28.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-debugsource","purl":"pkg:rpm/redhat/bzip2-debugsource","source":"RHSA-2025:0733"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-27.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-devel","purl":"pkg:rpm/redhat/bzip2-devel","source":"RHSA-2024:8922"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-28.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-devel","purl":"pkg:rpm/redhat/bzip2-devel","source":"RHSA-2025:0733"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-27.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs","purl":"pkg:rpm/redhat/bzip2-libs","source":"RHSA-2024:8922"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-28.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs","purl":"pkg:rpm/redhat/bzip2-libs","source":"RHSA-2025:0733"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-27.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs-debuginfo","purl":"pkg:rpm/redhat/bzip2-libs-debuginfo","source":"RHSA-2024:8922"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.0.6-28.el8_10"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs-debuginfo","purl":"pkg:rpm/redhat/bzip2-libs-debuginfo","source":"RHSA-2025:0733"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-debuginfo","purl":"pkg:rpm/redhat/bzip2-debuginfo","source":"RHSA-2025:0925"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-debugsource","purl":"pkg:rpm/redhat/bzip2-debugsource","source":"RHSA-2025:0925"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-devel","purl":"pkg:rpm/redhat/bzip2-devel","source":"RHSA-2025:0925"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs-debuginfo","purl":"pkg:rpm/redhat/bzip2-libs-debuginfo","source":"RHSA-2025:0925"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/redhat/bzip2","source":"RHSA-2025:0925"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-debuginfo","purl":"pkg:rpm/redhat/bzip2-debuginfo","source":"RHSA-2025:0925"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-debugsource","purl":"pkg:rpm/redhat/bzip2-debugsource","source":"RHSA-2025:0925"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs","purl":"pkg:rpm/redhat/bzip2-libs","source":"RHSA-2025:0925"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.0.8-10.el9_5"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs-debuginfo","purl":"pkg:rpm/redhat/bzip2-libs-debuginfo","source":"RHSA-2025:0925"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.0.8-8.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bzip2-debuginfo","purl":"pkg:rpm/redhat/bzip2-debuginfo","source":"RHSA-2024:10803"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.0.8-8.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bzip2-debugsource","purl":"pkg:rpm/redhat/bzip2-debugsource","source":"RHSA-2024:10803"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.0.8-8.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bzip2-devel","purl":"pkg:rpm/redhat/bzip2-devel","source":"RHSA-2024:10803"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.0.8-8.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bzip2-libs-debuginfo","purl":"pkg:rpm/redhat/bzip2-libs-debuginfo","source":"RHSA-2024:10803"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:1.0.8-8.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:rpm/redhat/bzip2","source":"RHSA-2024:10803"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:1.0.8-8.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bzip2-debuginfo","purl":"pkg:rpm/redhat/bzip2-debuginfo","source":"RHSA-2024:10803"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:1.0.8-8.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bzip2-debugsource","purl":"pkg:rpm/redhat/bzip2-debugsource","source":"RHSA-2024:10803"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2019-12899"},"products":["n/a"],"published":"2019-06-19","related":[{"cvss_score":6.5,"headline":"Use after free in n/a","id":"CVE-2016-3189","kev_date_added":null,"published":"2016-06-30"},{"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":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"open","licence":"CC0 1.0","name":"Haskell Security Response Team","prefix":"HSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"An out-of-bounds write in bzip2 decompression allows attackers to execute arbitrary code or cause denial of service via crafted files.","url":"https://insights.sbomify.com/CVE-2019-12900/"}