Skip to content
OpenAdvisories
High · 7.5 CVE-2023-22895 EUVD-2023-0424GHSA-96jv-r488-c2rjRUSTSEC-2023-0004

bzip2 allows attackers to cause a denial of service via a large file that triggers an integer overflow

Published Jan 10, 2023 · Updated Apr 7, 2025 · 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.

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.

ReleasePackageFixed inAdvisory
Debian 14 rust-bzip2 0.4.4-1 —
Debian 13 rust-bzip2 0.4.4-1 —
Debian 12 rust-bzip2 0.4.4-1 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-bzip2 No fix yet —
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
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

References