CVE-2026-48104GHSL-2026-120: 7-Zip SquashFS BlockToNode uninitialized heap read
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | 7zip | Fix pending | UBUNTU-CVE-2026-48104 | |
| Ubuntu 26.04 | 7zip | Under investigation | UBUNTU-CVE-2026-48104 | |
| Ubuntu 26.04 | p7zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | 7zip | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-48104 | |
| Ubuntu 25.10 | p7zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | 7zip | Fix pending | UBUNTU-CVE-2026-48104 | |
| Ubuntu 24.04 | p7zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | 7zip | Fix pending | UBUNTU-CVE-2026-48104 | |
| Ubuntu 22.04 | p7zip | Under investigation | UBUNTU-CVE-2026-48104 | |
| Ubuntu 20.04 | p7zip | Fix pending | UBUNTU-CVE-2026-48104 | |
| Ubuntu 18.04 | p7zip | Fix pending | UBUNTU-CVE-2026-48104 | |
| Ubuntu 16.04 | p7zip | Fix pending | UBUNTU-CVE-2026-48104 | |
| Ubuntu 14.04 | p7zip | Fix pending | UBUNTU-CVE-2026-48104 | |
| Debian 14 | 7zip | Fixed | 26.01+dfsg-1 | DEBIAN-CVE-2026-48104 |
| Debian 13 | 7zip | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-48104 | |
| Debian 13 | p7zip | Fixed | 16.02+transitional.1 | DEBIAN-CVE-2026-48104 |
| Debian 12 | 7zip | Fixed | 22.01+really26.01+dfsg-0+deb12u1 | DEBIAN-CVE-2026-48104 |
| Debian 12 | p7zip | Fixed | 16.02+really26.01+dfsg-0+deb12u1 | DEBIAN-CVE-2026-48104 |
| Alpine Linux 3.24 | 7zip | Fixed | 26.01-r0 | ALPINE-CVE-2026-48104 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mcmilk 7-Zip: affected: >= 9.18, < 26.01
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.