{"id":"CVE-2023-22895","aliases":["CVE-2023-22895","GHSA-96jv-r488-c2rj","RUSTSEC-2023-0004"],"related":[],"kind":"vulnerability","state":"published","title":"bzip2 allows attackers to cause a denial of service via a large file that triggers an integer overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"rustsec"},{"lang":"es","text":"bzip2 crate anterior a 0.4.4 para Rust permite a los atacantes provocar una denegación de servicio a través de un archivo grande que desencadena un desbordamiento de enteros en mem.rs. NOTA: esto no está relacionado con el producto https://crates.io/crates/bzip2-rs.","source":"nvd"}],"published":"2023-01-09T12:00:00.000Z","modified":"2026-06-17T05:36:22.663Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.4"}],"ecosystem":"crates.io","package":"bzip2","purl":"pkg:cargo/bzip2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.4"}],"ecosystem":"crates.io","package":"bzip2","purl":"pkg:cargo/bzip2","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.4.4"}],"vendor":"bzip2_project","product":"bzip2","cpe":"cpe:2.3:a:bzip2_project:bzip2:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/alexcrichton/bzip2-rs/pull/86","tags":["exploit","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://crates.io/crates/bzip2/versions","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22895","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/alexcrichton/bzip2-rs/commit/90c9c182cd5a5ebc75810aebd89b347a7bdf590b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/alexcrichton/bzip2-rs","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO","tags":["web"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0004.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/bzip2","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-07T18:03:45.875Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-22895","url":"https://www.cve.org/CVERecord?id=CVE-2023-22895","licence":"CVE Terms of Use","modified":"2025-04-07T18:15:47.336Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-96jv-r488-c2rj","url":"https://github.com/advisories/GHSA-96jv-r488-c2rj","licence":"CC-BY-4.0","modified":"2023-11-08T04:11:39.404Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2023-0004","url":"https://rustsec.org/advisories/RUSTSEC-2023-0004.html","licence":"CC0-1.0","modified":"2023-11-08T04:11:39.404Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-22895","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22895","licence":"Public domain","modified":"2026-06-17T05:36:22.663Z"}],"updatedAt":"2026-11-25T22:58:21.497Z","epss":{"score":0.01345,"percentile":0.71554,"date":"2026-11-30T12:00:22.000Z"}}