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

- Severity: Medium 4.8 (CVSS:4.0, scored by CERT-PL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-28T13:15:19.660Z
- Modified: 2026-06-17T10:47:34.687Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## 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

(As written by CVE List.)

## Affected

- bzip2 bzip2: up to 1.0.8 (not affected: 35d122a3df8b0cc4082a4d89fdc6ee99f375fe67)

## References

- <https://cert.pl/en/posts/2026/05/CVE-2026-42250/> (third-party-advisory)
- <https://sourceware.org/bzip2/> (product)
- <https://inbox.sourceware.org/bzip2-devel/20260528145407.293768-1-mark@klomp.org/> (vendor-advisory)
- <https://sourceware.org/cgit/bzip2/commit/?id=35d122a3df8b0cc4082a4d89fdc6ee99f375fe67> (patch)

## Sources

- CVE List: [CVE-2026-42250](https://www.cve.org/CVERecord?id=CVE-2026-42250), CVE Terms of Use, modified 2026-06-05
- NVD: [CVE-2026-42250](https://nvd.nist.gov/vuln/detail/CVE-2026-42250), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-42250 · Whole record: https://cve.day/CVE-2026-42250.json · Rebuilt by cve.day 2026-11-25T22:59:22.910Z
