CVEfocus › CVE database › CVE-2026-42250

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

CVSS 4.8 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-05-28Updated 2026-06-05Assigner: CERT-PL

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

CWE-787

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
40Fix pending
1Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10bzip2Fix pendingUBUNTU-CVE-2026-42250
Ubuntu 26.04bzip2Fixed1.0.8-6ubuntu0.1UBUNTU-CVE-2026-42250
Ubuntu 26.04clamavNot affected
vulnerable_code_not_present
Ubuntu 25.10bzip2Will not fix
clamav has a vendored copy of bzip2 which is used by the nulsft/nsis scanner clamav doesn't ship the bzip2recover utility This issue is only a possible denial…
UBUNTU-CVE-2026-42250
Ubuntu 25.10clamavNot affected
vulnerable_code_not_present
Ubuntu 24.04bzip2Fixed1.0.8-5.1ubuntu0.1UBUNTU-CVE-2026-42250
Ubuntu 24.04clamavNot affected
vulnerable_code_not_present
Ubuntu 22.04bzip2Fixed1.0.8-5ubuntu0.1UBUNTU-CVE-2026-42250
Ubuntu 22.04clamavNot affected
vulnerable_code_not_present
Ubuntu 20.04bzip2Fix pending1.0.8-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-42250
Ubuntu 18.04bzip2Fix pending1.0.6-8.1ubuntu0.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-42250
Ubuntu 16.04bzip2Fix pending1.0.6-8ubuntu0.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-42250
Ubuntu 14.04bzip2Fix pending1.0.6-5ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2026-42250
Debian 14bzip2Fix pendingDEBIAN-CVE-2026-42250
Debian 13bzip2Fix pendingDEBIAN-CVE-2026-42250
Debian 12bzip2Fix pendingDEBIAN-CVE-2026-42250
Red Hat Enterprise Linux 10bzip2Fix pending
Fix deferred
Red Hat Enterprise Linux 10bzip2-develFix pending
Fix deferred
Red Hat Enterprise Linux 10bzip2-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10gjsFix pending
Fix deferred
Red Hat Enterprise Linux 10gjs-develFix pending
Fix deferred
Red Hat Enterprise Linux 10gooseFix pending
Fix deferred
Red Hat Enterprise Linux 10libkrunFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-sequoia-sqFix pending
Fix deferred
Red Hat Enterprise Linux 10sequoia-sqFix pending
Fix deferred
Red Hat Enterprise Linux 10trustee-guest-componentsFix pending
Fix deferred
Red Hat Enterprise Linux 10trustee-kbsFix pending
Fix deferred
Red Hat Enterprise Linux 9bzip2Fix pending
Fix deferred
Red Hat Enterprise Linux 9bzip2-develFix pending
Fix deferred
Red Hat Enterprise Linux 9bzip2-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9gooseFix pending
Fix deferred
Red Hat Enterprise Linux 9trustee-guest-componentsFix pending
Fix deferred
Red Hat Enterprise Linux 8bzip2Fix pending
Fix deferred
Red Hat Enterprise Linux 8bzip2-develFix pending
Fix deferred
Red Hat Enterprise Linux 8bzip2-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw-bzip2Fix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-bzip2Fix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-bzip2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-bzip2Fix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-bzip2-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8mozjs60Fix pending
Fix deferred
Red Hat Enterprise Linux 8mozjs60-develFix pending
Fix deferred
Red Hat Enterprise Linux 7bzip2Fix pending
Fix deferred
Red Hat Enterprise Linux 7bzip2-develFix pending
Fix deferred
Red Hat Enterprise Linux 7bzip2-libsFix pending
Fix deferred
Red Hat Enterprise Linux 6bzip2Fix pending
Fix deferred
Red Hat Enterprise Linux 6bzip2-develFix pending
Fix deferred
Red Hat Enterprise Linux 6bzip2-libsFix pending
Fix deferred

What the vendor says

As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.