CVEfocus › CVE database › CVE-2026-48104

CVE-2026-48104GHSL-2026-120: 7-Zip SquashFS BlockToNode uninitialized heap read

CVSS 4.2 MediumEPSS 0.2% (higher than 10% of CVEs)Published 2026-06-05Updated 2026-06-05Assigner: GitHub_M

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.

CWE-125CWE-908

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

5Fixed
7Fix pending
2Under investigation
2Will not fix
3Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.107zipFix pendingUBUNTU-CVE-2026-48104
Ubuntu 26.047zipUnder investigationUBUNTU-CVE-2026-48104
Ubuntu 26.04p7zipNot affected
vulnerable_code_not_present
Ubuntu 25.107zipWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-48104
Ubuntu 25.10p7zipNot affected
vulnerable_code_not_present
Ubuntu 24.047zipFix pendingUBUNTU-CVE-2026-48104
Ubuntu 24.04p7zipNot affected
vulnerable_code_not_present
Ubuntu 22.047zipFix pendingUBUNTU-CVE-2026-48104
Ubuntu 22.04p7zipUnder investigationUBUNTU-CVE-2026-48104
Ubuntu 20.04p7zipFix pendingUBUNTU-CVE-2026-48104
Ubuntu 18.04p7zipFix pendingUBUNTU-CVE-2026-48104
Ubuntu 16.04p7zipFix pendingUBUNTU-CVE-2026-48104
Ubuntu 14.04p7zipFix pendingUBUNTU-CVE-2026-48104
Debian 147zipFixed26.01+dfsg-1DEBIAN-CVE-2026-48104
Debian 137zipWill 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 13p7zipFixed16.02+transitional.1DEBIAN-CVE-2026-48104
Debian 127zipFixed22.01+really26.01+dfsg-0+deb12u1DEBIAN-CVE-2026-48104
Debian 12p7zipFixed16.02+really26.01+dfsg-0+deb12u1DEBIAN-CVE-2026-48104
Alpine Linux 3.247zipFixed26.01-r0ALPINE-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.

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.