| Name | CVE-2026-125742 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| 7zip (PTS) | bookworm | 22.01+really26.01+dfsg-0+deb12u1 | vulnerable |
| bookworm (security) | 22.01+really26.02+dfsg-0+deb12u1 | vulnerable |
| trixie | 25.01+dfsg-1~deb13u2 | vulnerable |
| forky, sid | 26.06+dfsg-1 | fixed |
| p7zip (PTS) | bookworm | 16.02+really26.01+dfsg-0+deb12u1 | vulnerable |
| bookworm (security) | 16.02+really26.02+dfsg-0+deb12u1 | vulnerable |
| trixie | 16.02+transitional.1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| 7zip | source | (unstable) | 26.06+dfsg-1 | | | |
| p7zip | source | (unstable) | 16.02+transitional.1 | | | |
Notes
[trixie] - 7zip <no-dsa> (Minor issue, will be fixed via spu)
[bookworm] - 7zip <postponed> (Minor issue, revisit when spu is ready)
[bookworm] - p7zip <postponed> (Minor issue, follow 7zip)
Since p7zip/16.02+transitional.1 src:p7zip is only an empty source package
depending on 7zip. Mark this version as fixed version.
https://github.com/ip7z/7zip/commit/d3296e39e1f1f92c7b41c0c3848e65640428d42d (26.06)