What’s Vulnerable › Vulnerabilities
CVE-2023-22895
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-01-10 · updated 2026-06-17
- Weakness: CWE-190
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.
Affected products
- Bzip2 Project Bzip2: before 0.4.4 — fixed in 0.4.4
How to fix
Upgrade to a fixed version: Bzip2 Project Bzip2 0.4.4. Check the vendor advisory for mitigations.
References
- https://crates.io/crates/bzip2/versions
- https://github.com/alexcrichton/bzip2-rs/pull/86
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO/
- https://crates.io/crates/bzip2/versions
- https://github.com/alexcrichton/bzip2-rs/pull/86
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO/
Get alerted when CVE-2023-22895 or the next vulnerability affects your stack