cve.bz

CVE-2026-42250 bzip2 bzip2: Out-of-bounds Write

4.8 mediumEPSS 0.1%

Medium (4.8) in bzip2 bzip2. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 4.0

4.8 medium
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
EPSS
0.1% (unchanged from 0.1% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42250 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42250?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42250?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42250 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
bzip2through 1.0.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14bzip2no fix listedDEBIAN-CVE-2026-42250
Ubuntu22.04:LTSbzip21.0.8-5ubuntu0.1UBUNTU-CVE-2026-42250 USN-8685-1
Ubuntu24.04:LTSbzip21.0.8-5.1ubuntu0.1UBUNTU-CVE-2026-42250 USN-8685-1
Ubuntu25.10, 26.10bzip2no fix listedUBUNTU-CVE-2026-42250
Ubuntu26.04:LTSbzip21.0.8-6ubuntu0.1UBUNTU-CVE-2026-42250 USN-8685-1
UbuntuPro:14.04:LTSbzip21.0.6-5ubuntu0.1~esm3UBUNTU-CVE-2026-42250 USN-8685-1
UbuntuPro:16.04:LTSbzip21.0.6-8ubuntu0.2+esm1UBUNTU-CVE-2026-42250 USN-8685-1
UbuntuPro:18.04:LTSbzip21.0.6-8.1ubuntu0.2+esm1UBUNTU-CVE-2026-42250 USN-8685-1
UbuntuPro:20.04:LTSbzip21.0.8-2ubuntu0.1~esm1UBUNTU-CVE-2026-42250 USN-8685-1
Red Hathummingbird:1bzip2, bzip2-libs, bzip2-devel and 1 more0:1.0.8-23.2.hum1RHSA-2026:30268
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 and 1 morebzip21.0.8-150400.3.4.1SUSE-SU-2026:4055-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0bzip21.0.8-160000.3.1SUSE-SU-2026:23627-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5bzip21.0.6-30.17.1SUSE-SU-2026:3925-1
SUSELinux Micro 6.0bzip21.0.8-4.1SUSE-SU-2026:23442-1
SUSELinux Micro 6.1bzip21.0.8-slfo.1.1_2.1SUSE-SU-2026:23415-1
SUSELinux Micro 6.2bzip21.0.8-160000.3.1SUSE-SU-2026:23494-1
openSUSELeap 16.0bzip21.0.8-160000.3.1openSUSE-SU-2026:21762-1
openSUSETumbleweedbzip21.0.8-6.1openSUSE-SU-2026:11627-1
Azure Linux3bzip21.0.8-2AZL-88809
Azure Linux3kata-containers-cc3.15.0.aks0-15AZL-89190
Alpaquita23bzip21.0.8-r5BELL-CVE-2026-42250
Alpaquita25, streambzip21.0.8-r7BELL-CVE-2026-42250
BellSoft Hardened Containers23bzip21.0.8-r5BELL-CVE-2026-42250
BellSoft Hardened Containers25, streambzip21.0.8-r7BELL-CVE-2026-42250

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A Moderate impact denial of service flaw exists in the `bzip2recover` utility within bzip2. This vulnerability allows a local attacker to trigger an out-of-bounds write and crash the application by processing a specially crafted compressed file. Exploitation requires user interaction with a malicious file, limiting the attack vector to scenarios where untrusted bzip2 archives are processed by the recovery utility.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imagesbzip2-main-1.0.8-23.2.hum1Fixed 2026-06-26RHSA-2026:30268
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-payload-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9Fix deferred
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-supported-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-supported-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-supported-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-supported-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-chatbot-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/de-minimal-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/eda-controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/ee-minimal-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/ee-supported-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/gateway-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-chatbot-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-rhel9Fix deferred
56 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42250.

References

Check your stackJSON