Vulnerability · Published May 28, 2026 · Assigned by CERT-PL

CVE-2026-42250Off-by-One Leading to Out-of-Bounds Write in bzip2

Medium 4.8

In plain English

A medium-severity out-of-bounds write in bzip2 from bzip2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)4.8Medium
Exploit odds (30 days)0.1%top 97.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

bzip2 contains an off‑by‑one error in the bzip2recover utility. When processing a specially crafted file, the application performs an out‑of‑bounds write to a global buffer, resulting in memory corruption and a crash (denial of service). This issue was fixed in bzip2 patch 35d122a3df8b0cc4082a4d89fdc6ee99f375fe67

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12bzip2no fix listedDEBIAN-CVE-2026-42250
Debian:13bzip2no fix listedDEBIAN-CVE-2026-42250
Debian:14bzip2no fix listedDEBIAN-CVE-2026-42250
Ubuntu:22.04:LTSbzip21.0.8-5ubuntu0.1USN-8685-1
Ubuntu:22.04:LTSbzip21.0.8-5ubuntu0.1UBUNTU-CVE-2026-42250
Ubuntu:24.04:LTSbzip21.0.8-5.1ubuntu0.1USN-8685-1
Ubuntu:24.04:LTSbzip21.0.8-5.1ubuntu0.1UBUNTU-CVE-2026-42250
Ubuntu:25.10bzip2no fix listedUBUNTU-CVE-2026-42250
Ubuntu:26.04:LTSbzip21.0.8-6ubuntu0.1UBUNTU-CVE-2026-42250
Ubuntu:26.04:LTSbzip21.0.8-6ubuntu0.1USN-8685-1
Ubuntu:26.10bzip2no fix listedUBUNTU-CVE-2026-42250

Affected products (as reported)

VendorProductVersions
bzip2 bzip2 0 – through 1.0.8

Weakness: CWE-787 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

References