CVE-2023-22895 bzip2 allows attackers to cause a denial of service via a large file that triggers an integer overflow
HighCVSS 7.5
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 5 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/rust-bzip2(Ubuntu 20.04) | = 0.3.3-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-bzip2(Ubuntu 22.04) | = 0.4.1-1; = 0.4.1-2; All versions | No fix listed | No fix yet |
| ubuntu/rust-bzip2(Ubuntu 24.04) | = 0.4.4-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-bzip2(Ubuntu 25.10) | = 0.4.4-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-bzip2(Ubuntu 26.04) | = 0.4.4-1; = 0.6.1-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-bzip2(Ubuntu 26.10) | = 0.6.1-1; All versions | No fix listed | No fix yet |
| bzip2 project bzip2 | < 0.4.4 | 0.4.4 | Fixed |
| crates.io bzip2(crates.io) | < 0.4.4; >= 0.0.0-0, < 0.4.4 | 0.4.4 | Fixed |
| debian/rust-bzip2(Debian 12) | < 0.4.4-1 | 0.4.4-1 | Fixed |
| debian/rust-bzip2(Debian 13) | < 0.4.4-1 | 0.4.4-1 | Fixed |
| debian/rust-bzip2(Debian 14) | < 0.4.4-1 | 0.4.4-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io bzip2(crates.io) | < 0.4.4 | 0.4.4 |
| crates.io bzip2(crates.io) | >= 0.0.0-0, < 0.4.4 | 0.4.4 |
| debian/rust-bzip2(Debian:12) | < 0.4.4-1 | 0.4.4-1 |
| debian/rust-bzip2(Debian:13) | < 0.4.4-1 | 0.4.4-1 |
| debian/rust-bzip2(Debian:14) | < 0.4.4-1 | 0.4.4-1 |
| ubuntu/rust-bzip2(Ubuntu:22.04) | All versions | No fix listed |
| bzip2 project bzip2 | < 0.4.4 | 0.4.4 |
| ubuntu/rust-bzip2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:20.04) | = 0.3.3-1 | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:22.04) | = 0.4.1-1 | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:22.04) | = 0.4.1-2 | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:24.04) | = 0.4.4-1 | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:25.10) | = 0.4.4-1 | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:26.10) | = 0.6.1-1 | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:26.04) | = 0.4.4-1 | No fix listed |
| ubuntu/rust-bzip2(Ubuntu:26.04) | = 0.6.1-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- crates.io issue-tracking patch third-party-advisory
- rustsec.org vendor-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- github.com issue-tracking patch
- github.com
- github.com product
- crates.io product
- Debian Security Tracker CVE-2023-22895 vendor-advisory
- FEDORA-2023-c17427d18a vendor-advisory
- FEDORA-2023-7bd6fbb5fa vendor-advisory
- FEDORA-2023-c08ee112f6 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking