CVE-2023-22895Bzip2 Project Bzip2
High 7.5 No auth needed
Follow: this CVE · Bzip2 Project · Bzip2 Project Bzip2 We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Jan 10, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Bzip2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | bzip2 |
< 0.4.4 |
0.4.4 |
cargo update -p bzip2 --precise 0.4.4 |
| crates.io | bzip2 |
≥ 0.0.0-0 < 0.4.4 |
0.4.4 |
cargo update -p bzip2 --precise 0.4.4 |
Per OSV / GitHub Advisories (GHSA-96jv-r488-c2rj, RUSTSEC-2023-0004). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bzip2_project | bzip2 | < 0.4.4 |
Official sources
References
Links published by the sources. Open them with care.
- crates.io Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org