CVE-2026-48104 GHSL-2026-120: 7-Zip SquashFS BlockToNode uninitialized heap read
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
7-Zip is a file archiver with a high compression ratio. Versions 9.18 through 26.00 contain an uninitialized heap read in the SquashFS archive handler caused by a sparsely populated index array. In the SquashFS handler, _blockToNode is allocated with capacity for every metadata block but populated only when an inode crosses a block boundary, so a crafted image with few inodes spanning many blocks leaves most slots holding raw heap contents (the underlying allocator does not zero-initialize POD storage). When OpenDir looks up an attacker-influenced blockIndex (derived from the RootInode superblock field), it reads two of these uninitialized slots and passes them as the left/right bounds of a binary search over _nodesPos, which dereferences the midpoint without bounds checking; if the resulting value happens to match the search key, the returned index is used to read a full node struct from _nodes whose fields feed further directory parsing, forming a chained OOB read primitive that is heap-layout-dependent and not reliably triggerable. The SquashFS handler is enabled by default in stock 7z.dll and the issue triggers during Open() with no interaction beyond opening the file; impact is denial of service from wild-pointer dereference and potential heap information disclosure, with no write primitive. Version 26.01 fixes the issue.
Upgrade path
13 packages: 6 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/7zip(Debian 13) | = 24.09+dfsg-8; = 25.00+dfsg-1; = 25.01+dfsg-1; = 25.01+dfsg-1~deb13u1 +24 more | No fix listed | No fix yet |
| ubuntu/7zip(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/7zip(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/7zip(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/7zip(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/p7zip(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| 7-Zip | >= 9.18, < 26.01 | 26.01 | Fixed |
| alpine/7zip(Alpine v3.24) | < 26.01-r0 | 26.01-r0 | Fixed |
| debian/7zip(Debian 12) | < 22.01+really26.01+dfsg-0+deb12u1; = 22.01+dfsg-8; = 22.01+dfsg-8+deb12u1; = 22.01+dfsg-9 +2 more | 22.01+really26.01+dfsg-0+deb12u1 | Fixed |
| debian/7zip(Debian 14) | < 26.01+dfsg-1; = 24.09+dfsg-8; = 25.00+dfsg-1; = 25.01+dfsg-1 +15 more | 26.01+dfsg-1 | Fixed |
| debian/p7zip(Debian 12) | < 16.02+really26.01+dfsg-0+deb12u1; = 16.02+dfsg-8; = 16.02+really25.01+dfsg-0+deb12u1 | 16.02+really26.01+dfsg-0+deb12u1 | Fixed |
| debian/p7zip(Debian 13) | < 16.02+transitional.1 | 16.02+transitional.1 | Fixed |
| mcmilk 7-Zip | = >= 9.18, < 26.01 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mcmilk 7-Zip | = >= 9.18, < 26.01 | No fix listed |
| debian/7zip(Debian:12) | < 22.01+really26.01+dfsg-0+deb12u1 | 22.01+really26.01+dfsg-0+deb12u1 |
| debian/7zip(Debian:14) | < 26.01+dfsg-1 | 26.01+dfsg-1 |
| debian/7zip(Debian:13) | All versions | No fix listed |
| debian/p7zip(Debian:12) | < 16.02+really26.01+dfsg-0+deb12u1 | 16.02+really26.01+dfsg-0+deb12u1 |
| debian/p7zip(Debian:13) | < 16.02+transitional.1 | 16.02+transitional.1 |
| debian/7zip(Debian:12) | = 22.01+dfsg-10~exp1 | No fix listed |
| debian/7zip(Debian:12) | = 22.01+dfsg-8 | No fix listed |
| debian/7zip(Debian:12) | = 22.01+dfsg-8+deb12u1 | No fix listed |
| debian/7zip(Debian:12) | = 22.01+dfsg-9 | No fix listed |
| debian/7zip(Debian:12) | = 22.01+really25.01+dfsg-0+deb12u1 | No fix listed |
| debian/7zip(Debian:13) | = 24.09+dfsg-8 | No fix listed |
| debian/7zip(Debian:13) | = 25.00+dfsg-1 | No fix listed |
| debian/7zip(Debian:13) | = 25.01+dfsg-1 | No fix listed |
| debian/7zip(Debian:13) | = 25.01+dfsg-1~deb13u1 | No fix listed |
| debian/7zip(Debian:13) | = 25.01+dfsg-1~deb13u1~bpo12+1 | No fix listed |
| debian/7zip(Debian:13) | = 25.01+dfsg-1~deb13u2 | No fix listed |
| debian/7zip(Debian:13) | = 25.01+dfsg-2 | No fix listed |
| debian/7zip(Debian:13) | = 25.01+dfsg-3 | No fix listed |
| debian/7zip(Debian:13) | = 25.01+dfsg-4 | No fix listed |
| debian/7zip(Debian:13) | = 25.01+dfsg-5 | No fix listed |
| debian/7zip(Debian:13) | = 26.00+dfsg-1 | No fix listed |
| debian/7zip(Debian:13) | = 26.00+dfsg-2 | No fix listed |
| debian/7zip(Debian:13) | = 26.00+dfsg-3 | No fix listed |
| debian/7zip(Debian:13) | = 26.00+dfsg-4 | No fix listed |
Show 40 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/7zip(Debian:13) | = 26.00+dfsg-5 | No fix listed |
| debian/7zip(Debian:13) | = 26.00+dfsg1-1 | No fix listed |
| debian/7zip(Debian:13) | = 26.00+dfsg1-2 | No fix listed |
| debian/7zip(Debian:13) | = 26.00+dfsg1-3 | No fix listed |
| debian/7zip(Debian:13) | = 26.01+dfsg-1 | No fix listed |
| debian/7zip(Debian:13) | = 26.01+dfsg-2 | No fix listed |
| debian/7zip(Debian:13) | = 26.01+dfsg-3 | No fix listed |
| debian/7zip(Debian:13) | = 26.02+dfsg-1 | No fix listed |
| debian/7zip(Debian:13) | = 26.02+dfsg-2 | No fix listed |
| debian/7zip(Debian:13) | = 26.02+dfsg-3 | No fix listed |
| debian/7zip(Debian:13) | = 26.03+dfsg-1 | No fix listed |
| debian/7zip(Debian:13) | = 26.03+dfsg-2 | No fix listed |
| debian/7zip(Debian:13) | = 26.03+dfsg-3 | No fix listed |
| debian/7zip(Debian:14) | = 24.09+dfsg-8 | No fix listed |
| debian/7zip(Debian:14) | = 25.00+dfsg-1 | No fix listed |
| debian/7zip(Debian:14) | = 25.01+dfsg-1 | No fix listed |
| debian/7zip(Debian:14) | = 25.01+dfsg-1~deb13u1 | No fix listed |
| debian/7zip(Debian:14) | = 25.01+dfsg-1~deb13u1~bpo12+1 | No fix listed |
| debian/7zip(Debian:14) | = 25.01+dfsg-1~deb13u2 | No fix listed |
| debian/7zip(Debian:14) | = 25.01+dfsg-2 | No fix listed |
| debian/7zip(Debian:14) | = 25.01+dfsg-3 | No fix listed |
| debian/7zip(Debian:14) | = 25.01+dfsg-4 | No fix listed |
| debian/7zip(Debian:14) | = 25.01+dfsg-5 | No fix listed |
| debian/7zip(Debian:14) | = 26.00+dfsg-1 | No fix listed |
| debian/7zip(Debian:14) | = 26.00+dfsg-2 | No fix listed |
| debian/7zip(Debian:14) | = 26.00+dfsg-3 | No fix listed |
| debian/7zip(Debian:14) | = 26.00+dfsg-4 | No fix listed |
| debian/7zip(Debian:14) | = 26.00+dfsg-5 | No fix listed |
| debian/7zip(Debian:14) | = 26.00+dfsg1-1 | No fix listed |
| debian/7zip(Debian:14) | = 26.00+dfsg1-2 | No fix listed |
| debian/7zip(Debian:14) | = 26.00+dfsg1-3 | No fix listed |
| debian/p7zip(Debian:12) | = 16.02+dfsg-8 | No fix listed |
| debian/p7zip(Debian:12) | = 16.02+really25.01+dfsg-0+deb12u1 | No fix listed |
| ubuntu/p7zip(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/7zip(Ubuntu:22.04) | All versions | No fix listed |
| alpine/7zip(Alpine:v3.24) | < 26.01-r0 | 26.01-r0 |
| ubuntu/7zip(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/7zip(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/7zip(Ubuntu:26.10) | All versions | No fix listed |
| 7-Zip | >= 9.18, < 26.01 | 26.01 |
References
- https://securitylab.github.com/advisories/GHSL-2026-115_GHSL-2026-122_7-zip/ exploit patch third-party-advisory
- Debian Security Tracker CVE-2026-48104 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory