Skip to content
Fencer Vulns
high 7.5

CVE-2023-22895 json

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

published 2023-01-09 3 y ago modified 2026-06-17 4 mo ago also GHSA-96jv-r488-c2rj , RUSTSEC-2023-0004 , EUVD-2023-0424

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 69%
public exploits
0
none known

Summary

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.

Patch / fix

  • crates.io bzip2 0.4.4
  • bzip2_project bzip2 0.4.4
  • rust-bzip2 Debian 14, Debian 13, Debian 12 0.4.4-1

debian advisories DEBIAN-CVE-2023-22895

  • python-cramjam openSUSE Tumbleweed 2.9.1-1.3
  • rage-encryption openSUSE Tumbleweed 0.9.0+0-4.1
  • wasm-pack openSUSE Tumbleweed 0.10.3~0-2.1

opensuse advisories openSUSE-SU-2025:15094-1openSUSE-SU-2024:12610-1openSUSE-SU-2024:12616-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-22895 updated cvss 3.3

rust: The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
19 mo ago

Exploit prediction

1.25% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/alexcrichton/bzip2-rs/pull/86 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
crates.io bzip2
<0.4.4
>=0.0.0-0, <0.4.4
0.4.4

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.