# CVE-2023-22895: bzip2 allows attackers to cause a denial of service via a large file that triggers an integer overflow

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.34%, higher than 72% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-09T12:00:00.000Z
- Modified: 2026-06-17T05:36:22.663Z
- Also known as: GHSA-96jv-r488-c2rj, RUSTSEC-2023-0004
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- bzip2 (crates.io): before 0.4.4; from 0.0.0-0 before 0.4.4
- bzip2_project bzip2: before 0.4.4

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/alexcrichton/bzip2-rs/pull/86> (exploit, patch, third-party-advisory, web)
- <https://crates.io/crates/bzip2/versions> (patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22895> (advisory)
- <https://github.com/alexcrichton/bzip2-rs/commit/90c9c182cd5a5ebc75810aebd89b347a7bdf590b> (web)
- <https://github.com/alexcrichton/bzip2-rs> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO> (web)
- <https://rustsec.org/advisories/RUSTSEC-2023-0004.html> (advisory, web)
- <https://crates.io/crates/bzip2> (package)

## Sources

- CVE List: [CVE-2023-22895](https://www.cve.org/CVERecord?id=CVE-2023-22895), CVE Terms of Use, modified 2025-04-07
- GitHub Advisory Database: [GHSA-96jv-r488-c2rj](https://github.com/advisories/GHSA-96jv-r488-c2rj), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2023-0004](https://rustsec.org/advisories/RUSTSEC-2023-0004.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2023-22895](https://nvd.nist.gov/vuln/detail/CVE-2023-22895), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-22895 · Whole record: https://cve.day/CVE-2023-22895.json · Rebuilt by cve.day 2026-11-25T22:58:21.497Z
