{"id":"CVE-2023-22895","aliases":["DEBIAN-CVE-2023-22895","EUVD-2023-0424","GHSA-96jv-r488-c2rj","RUSTSEC-2023-0004","UBUNTU-CVE-2023-22895","openSUSE-SU-2024:12610-1","openSUSE-SU-2024:12614-1","openSUSE-SU-2024:12616-1","openSUSE-SU-2025:15094-1"],"status":"published","title":"bzip2 allows attackers to cause a denial of service via a large file that triggers an integer overflow","description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01293,"percentile":0.70545,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2023-01-09T12:00:00Z","modified":"2026-10-28T02:31:00Z","fixes":[{"ecosystem":"crates.io","package":"bzip2","fixed_in":["0.4.4"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rust-bzip2","fixed_in":["0.4.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rust-bzip2","fixed_in":["0.4.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rust-bzip2","fixed_in":["0.4.4-1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"rage-encryption","fixed_in":["0.9.0+0-4.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"wasm-pack","fixed_in":["0.10.3~0-2.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"python-cramjam","fixed_in":["2.9.1-1.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rust-bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rust-bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.4-1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"bzip2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.4"}]}]},{"source":"osv","ecosystem":"crates.io","package":"bzip2","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.4"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"rust-bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.3-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rust-bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.1-1","0.4.1-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.4-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.4-1","0.6.1-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"rage-encryption","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0+0-4.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"wasm-pack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.3~0-2.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-cramjam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.1-1.3"}]}]}],"products":[{"vendor":"bzip2_project","product":"bzip2"}],"references":[{"url":"https://github.com/alexcrichton/bzip2-rs/pull/86","tags":["x_transferred","Exploit","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://crates.io/crates/bzip2/versions","tags":["x_transferred","Patch","Third Party Advisory","web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22895","tags":["advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0004.html","tags":["web","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO/"},{"url":"https://github.com/alexcrichton/bzip2-rs/commit/90c9c182cd5a5ebc75810aebd89b347a7bdf590b","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-96jv-r488-c2rj"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22895.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-22895","tags":["advisory"]},{"url":"https://github.com/alexcrichton/bzip2-rs","tags":["package"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO","tags":["web"]},{"url":"https://crates.io/crates/bzip2","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-22895","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22895","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2023-22895","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/CKLLTASOKTCALVLNRTUKQYYSBAFZ4KVU/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-22895","description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","status":"published","published":"2023-01-10T00:00:00Z","modified":"2025-04-07T18:15:47.336Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:35:15.779187Z"}],"euvd":[{"id":"EUVD-2023-0424","description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","status":"published","published":"2023-01-10T00:00:00Z","modified":"2025-04-07T18:15:47Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:41.16494Z"}],"ghsa":[{"id":"GHSA-96jv-r488-c2rj","title":"bzip2 allows attackers to cause a denial of service via a large file that triggers an integer overflow","description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in `mem.rs`. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","status":"published","published":"2023-01-10T03:30:29Z","modified":"2023-03-31T15:10:00Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:36:48.905887Z"}],"nvd":[{"id":"CVE-2023-22895","description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","status":"published","published":"2023-01-10T01:15:10.677Z","modified":"2026-06-17T05:36:22.663Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:07:45.305824Z"}],"osv":[{"id":"CVE-2023-22895","description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","status":"published","published":"2023-01-10T00:00:00Z","modified":"2026-10-28T02:31:00.515754688Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:30.334753Z"},{"id":"DEBIAN-CVE-2023-22895","description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","status":"published","published":"2023-01-10T01:15:10.677Z","modified":"2026-10-26T18:02:23.248911244Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:39.369204Z"},{"id":"GHSA-96jv-r488-c2rj","title":"bzip2 allows attackers to cause a denial of service via a large file that triggers an integer overflow","description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in `mem.rs`. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","status":"published","published":"2023-01-10T03:30:29Z","modified":"2023-11-08T04:11:39.404864Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:46:43.123867Z"},{"id":"UBUNTU-CVE-2023-22895","description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","status":"published","published":"2023-01-10T01:15:00Z","modified":"2026-10-17T12:56:04.251078876Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:20.198616Z"},{"id":"openSUSE-SU-2024:12610-1","title":"rage-encryption-0.9.0+0-4.1 on GA media","description":"These are all security issues fixed in the rage-encryption-0.9.0+0-4.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:53:04.800447Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"openSUSE-SU-2024:12614-1","title":"python310-cramjam-2.6.2-1.1 on GA media","description":"These are all security issues fixed in the python310-cramjam-2.6.2-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:13:43.795275Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"openSUSE-SU-2024:12616-1","title":"wasm-pack-0.10.3~0-2.1 on GA media","description":"These are all security issues fixed in the wasm-pack-0.10.3~0-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:01:54.033142Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"openSUSE-SU-2025:15094-1","title":"python311-cramjam-2.9.1-1.3 on GA media","description":"These are all security issues fixed in the python311-cramjam-2.9.1-1.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-05-17T00:00:00Z","modified":"2026-02-04T03:36:50.789192Z","updated_at":"2026-11-02T16:58:37.399567Z"},{"id":"RUSTSEC-2023-0004","title":"bzip2 Denial of Service (DoS)","description":"Working with specific payloads can cause a Denial of Service (DoS) vector.\n\nBoth `Decompress` and `Compress` implementations can enter into infinite loops\ngiven specific payloads entered that trigger it.\n\nThe issue is described in great detail in the [bzip2 repository issue](https://github.com/alexcrichton/bzip2-rs/pull/86).\n\nThanks to bjrjk for finding and providing the patch for the issue and the\nmaintainer responsibly responding to release a fix quickly.\n\nUsers who use the crate with untrusted data should update the `bzip2` to 0.4.4.","status":"published","published":"2023-01-09T12:00:00Z","modified":"2023-11-08T04:11:39.404864Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
