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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-bzip2 | 0.4.4-1 | — |
| Debian 13 | rust-bzip2 | 0.4.4-1 | — |
| Debian 12 | rust-bzip2 | 0.4.4-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-bzip2 | No fix yet | — |
| Ubuntu 26.04 LTS | rust-bzip2 | No fix yet | — |
| Ubuntu 25.10 | rust-bzip2 | No fix yet | — |
| Ubuntu 24.04 LTS | rust-bzip2 | No fix yet | — |
| Ubuntu 22.04 LTS | rust-bzip2 | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | rust-bzip2 | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-cramjam | 2.9.1-1.3 | openSUSE-SU-2025:15094-1 |
| openSUSE Tumbleweed | rage-encryption | 0.9.0+0-4.1 | openSUSE-SU-2024:12610-1 |
| openSUSE Tumbleweed | wasm-pack | 0.10.3~0-2.1 | openSUSE-SU-2024:12616-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | bzip2 | < 0.4.4 | 0.4.4 | GHSA-96jv-r488-c2rj |
| crates.io | bzip2 | >= 0.0.0-0, < 0.4.4 | 0.4.4 | RUSTSEC-2023-0004 |
Advisories 3
- openSUSE-SU-2024:12616-1 wasm-pack-0.10.3~0-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12610-1 rage-encryption-0.9.0+0-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:15094-1 python311-cramjam-2.9.1-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/alexcrichton/bzip2-rs/pull/86
- https://crates.io/crates/bzip2/versions
- FEDORA-2023-c17427d18a vendor-advisory
- FEDORA-2023-7bd6fbb5fa vendor-advisory
- FEDORA-2023-c08ee112f6 vendor-advisory