CVE-2026-42250

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

State
Published
Severity
4.8 Medium
Published
May 28, 2026
Updated
Jun 5, 2026
Reserved
Apr 25, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NCERT-PL

Weaknesses

Affected Products

ProductVersions
bzip2bzip2
  • 1.0.8 and earlierAffected
  • 35d122a3df8b0cc4082a4d89fdc6ee99f375fe67Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.