Skip to main content

bzip2 CVE-2026-42250

| EUVDEUVD-2026-32898 MEDIUM
Out-of-bounds Write (CWE-787)
2026-05-28 cvd@cert.pl GHSA-9r29-3vrx-4537
4.8
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local file write access
  2. Delivery
    Craft malicious bzip2 archive
  3. Exploit
    Supply file to bzip2recover invocation
  4. Execution
    Off-by-one triggers out-of-bounds write
  5. Persist
    Global buffer corrupted
  6. Impact
    bzip2recover crashes (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability is triggered exclusively when bzip2recover processes a specially crafted input file - the core bzip2 library and bzip2/bunzip2 commands are not affected. Per the CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N), no special privileges are required, and no particular non-default configuration is needed; the only prerequisite is that the attacker can supply a malicious file to an invocation of bzip2recover. Exploitation is naturally limited by the local attack vector: bzip2recover is not a network service and is not exposed remotely, so the attacker must already have local file-system write access or the ability to influence which files a recovery pipeline processes. The impact is further bounded to crashing only the bzip2recover process, with no effect on system integrity or confidentiality.

Impact

The CVSS 4.0 score of 5.1 accurately reflects limited real-world risk. The local attack vector (AV:L) is a hard constraint - this is not remotely exploitable as a standalone attack; an attacker must already be able to supply a crafted file to a process that invokes bzip2recover. The impact profile (VC:N/VI:N/VA:L) confirms no confidentiality or integrity exposure, only a low-availability impact to the recovery utility itself. No EPSS score was provided in the source data, so exploitation probability cannot be quantified numerically. KEV status is absent, and no POC is known, meaning exploitation status is 'no public exploit identified at time of analysis.' Critically, bzip2recover is a standalone utility invoked manually or in recovery scripts - it is not a daemon or network service - which substantially limits automated or opportunistic exploitation. For most deployments, this vulnerability presents a low operational priority unless bzip2recover is invoked programmatically in an automated pipeline where untrusted archive files could be processed. No conflicting signals were identified between the CVSS vector and the description.

Exploit ScenarioDerived

A local attacker places a specially crafted .bz2 file in a directory monitored by a script or automated recovery process that calls bzip2recover on damaged archives. When bzip2recover processes the malicious file, the off-by-one error triggers an out-of-bounds write to the global buffer, corrupting adjacent memory and crashing the utility. No public exploit code is known at this time; the scenario relies on the attacker's ability to control the input file presented to bzip2recover.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 28, 2026

Out-of-bounds write in bzip2's bzip2recover utility allows a local attacker to supply a specially crafted file that triggers an off-by-one error, corrupting a global buffer and crashing the process. Per the CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N), the attack requires no privileges and no user interaction beyond the utility being invoked against a malicious file. Impact is strictly denial of service against the bzip2recover process - no confidentiality or integrity exposure - and the CVSS 4.0 score of 5.1 (Medium) reflects this constrained scope. No public exploit or active exploitation has been identified at time of analysis.

RemediationAI

Vendor-released patch: bzip2 1.0.9. Upgrade to bzip2 1.0.9 or later using the distribution's package manager or by building from source via the upstream project at https://sourceware.org/bzip2/. Full advisory details are available from CERT Polska at https://cert.pl/en/posts/2026/05/CVE-2026-42250/. Where upgrading is not immediately feasible, a targeted compensating control is to remove or restrict execution of the bzip2recover binary (e.g., via filesystem permissions or package-level removal of the utility). This eliminates the attack surface entirely and carries no side effects on normal bzip2 compression and decompression operations, since bzip2recover is a separate utility not invoked by the standard bzip2 or bunzip2 commands. If bzip2recover is required, restrict its invocation to trusted, validated input files only, and do not expose it to user-supplied archive processing pipelines.

Affected VersionsENISA

bzip2 0 <1.0.9

Affected Packages

euvd bzip2 fix: 1.0.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

bzip2recover is a bundled utility within the bzip2 compression suite, designed to salvage data from damaged .bz2 archives by scanning for valid compressed blocks. The root cause is CWE-787 (Out-of-bounds Write): an off-by-one logic error causes the program to write one element past the intended boundary of a statically allocated global buffer when parsing a crafted input file. This class of error - common in file-parsing utilities with fixed-size internal state - results in memory corruption adjacent to the overwritten buffer. Because the affected buffer is global (not stack-allocated), the immediate consequence is typically a crash rather than a controllable code execution primitive, consistent with the observed denial-of-service impact. The CVSS 4.0 vector (AV:L/AC:L/AT:N) confirms low attack complexity with no prerequisite system configurations required beyond the ability to provide a file to the utility.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 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
SUSE 3.3 LOW
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Red Hat 5.0 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Jun 05, 2026 - 08:22 NVD
5.1 (MEDIUM) 4.8 (MEDIUM)
Patch available
May 28, 2026 - 15:01 EUVD

DescriptionCVE.org

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 version 1.0.9

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
8 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed
SUSE Linux Enterprise Micro 5.5 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy