# CVE-2026-125742: 7-Zip before 26.06 Heap Out-of-Bounds Write via LZX Decoder in CAB Extraction

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/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.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-10T12:00:56.747Z
- Modified: 2026-11-12T19:16:54.787Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

7-Zip before 26.06 contains a heap out-of-bounds write vulnerability in the LZX decoder that lets attackers corrupt memory when a continuation CAB volume declares a smaller window. Attackers can entice victims to extract crafted multi-volume CAB archives, where a stale _pos value bypasses bounds checks, enabling arbitrary code execution.

(As written by CVE List.)

## Affected

- 7-Zip 7-Zip: before 26.06

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://potion-brew.pages.dev/posts/7zip-cab-lzx-window-desync-rce/> (exploit, technical-description)
- <https://github.com/ip7z/7zip/commit/d3296e39e1f1f92c7b41c0c3848e65640428d42d> (patch)
- <https://github.com/ip7z/7zip/releases/tag/26.06> (release-notes)
- <https://github.com/ip7z/7zip/blob/26.05/CPP/7zip/Compress/LzxDecoder.cpp#L1496-L1513> (product)
- <https://www.vulncheck.com/advisories/7-zip-before-26.06-heap-out-of-bounds-write-via-lzx-decoder-in-cab-extraction> (third-party-advisory)

## Sources

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

---

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