PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet
Vulnerability DatabaseCVE-2026-104086

CVE-2026-104086: 
7-Zip vulnerability analysis and mitigation

Overview

CVE-2026-104086 is an uninitialized memory disclosure vulnerability in 7-Zip's SquashFS v4 archive handler (SquashfsHandler.cpp) affecting all versions before 26.03. By crafting a malicious SquashFS archive with a manipulated superblock no_ids field, attackers can cause the final metadata block's expected size to be miscomputed, bypassing size validation and leaking uninitialized heap memory via the kpidUserId and kpidGroupId properties when the archive is listed or extracted. It was disclosed on October 14, 2026, and assigned by VulnCheck. It carries a CVSS v3.1 base score of 5.5 (Medium) and a CVSS v4.0 base score of 6.8 (Medium) (VulnCheck Advisory, EUVD).

Technical details

The root cause is classified as CWE-908 (Use of Uninitialized Resource). The vulnerability resides in the SquashFS v4 handler in SquashfsHandler.cpp, where the no_ids field in the archive superblock is used to compute the expected size of the final metadata block containing UID/GID tables. An attacker can craft this field so that the computed size is incorrect, causing the size validation check to pass while the application subsequently reads beyond valid data into uninitialized heap memory. The uninitialized memory is then surfaced to the user as the kpidUserId and kpidGroupId archive properties when listing or extracting the archive. Exploitation requires local access and user interaction (opening the malicious archive), but no privileges are required (VulnCheck Advisory, 7-Zip Forum).

Impact

Successful exploitation results in a high confidentiality impact with no integrity or availability impact. An attacker who tricks a user into opening a crafted SquashFS archive can obtain potentially sensitive contents of the 7-Zip process's heap memory, which may include cryptographic material, credentials, or other sensitive data resident in memory at the time of processing. The scope is limited to the local system and the 7-Zip process's memory space, with no direct path to code execution or data modification (VulnCheck Advisory).

Exploitability

As of the disclosure date (October 14, 2026), no public proof-of-concept exploit code, exploit kit integration, or in-the-wild exploitation has been reported. The EPSS score is 0.0, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction — a victim must open a specially crafted archive — which limits the attack surface compared to network-exploitable vulnerabilities (VulnCheck Advisory).

Exploitation steps

  1. Craft malicious archive: Create a SquashFS v4 archive with a manipulated superblock no_ids field set to a value that causes the expected size of the final UID/GID metadata block to be miscomputed, bypassing the size validation check in SquashfsHandler.cpp.
  2. Deliver the archive: Distribute the crafted .sqfs or similarly named archive to the target via email attachment, file share, download link, or other social engineering vector.
  3. Induce user interaction: Convince the target user to open the archive in 7-Zip (e.g., by listing or extracting its contents), which triggers the vulnerable code path in the SquashFS handler.
  4. Capture leaked memory: Observe the kpidUserId and kpidGroupId properties returned by 7-Zip, which contain uninitialized heap memory from the 7-Zip process. Depending on heap layout, this memory may contain sensitive data such as passwords, keys, or other recently processed content (VulnCheck Advisory).

Indicators of compromise

  • File System: Presence of unexpected or unsolicited .sqfs (SquashFS) archive files delivered via email, downloads, or shared drives.
  • Logs: 7-Zip process activity logs showing repeated listing or extraction of SquashFS archives from untrusted or external sources.
  • Process: 7-Zip (7z.exe, 7zFM.exe) spawned with SquashFS archive arguments from unusual parent processes (e.g., browser, email client, script interpreter), potentially indicating social engineering delivery.

Mitigation and workarounds

Users should upgrade 7-Zip to version 26.03 or later, which contains the fix for this vulnerability. No configuration-based workaround is available; the only effective mitigation is patching. As an interim measure, organizations can restrict the opening of SquashFS archives from untrusted sources and educate users not to open archive files from unknown senders. The updated version is available from the official 7-Zip website (7-Zip Official, VulnCheck Advisory).

Community reactions

The vulnerability was reported and disclosed by VulnCheck, with a corresponding discussion thread posted on the official 7-Zip SourceForge forum. No significant broader media coverage or notable researcher commentary beyond the initial VulnCheck advisory has been identified at this time (7-Zip Forum, VulnCheck Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

p7zip

Affected

sid

7zip: 26.03+dfsg-1

Fixed

trixie

p7zip: 16.02+transitional.1

Fixed

Ubuntu

Unknown

bionic (esm-apps)

p7zip

Unknown

devel

7zip

Unknown

focal (esm-apps)

p7zip

Unknown

jammy

7zip

Unknown

jammy (esm-apps)

7zip

Unknown

noble

7zip

Unknown

noble (esm-apps)

7zip

Unknown

resolute

7zip

Unknown

Source: This report was generated using AI

Related 7-Zip vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-14266HIGH7.8
  • 7-Zip logo7-Zip
  • 7zip-standalone-all
NoYesJul 29, 2026
CVE-2026-48111HIGH7.1
  • 7-Zip logo7-Zip
  • 7zip-debuginfo
NoYesJun 05, 2026
CVE-2026-104086MEDIUM6.8
  • 7-Zip logo7-Zip
  • p7zip
NoYesOct 14, 2026
CVE-2026-48112MEDIUM6.5
  • 7-Zip logo7-Zip
  • 7zip
NoYesJun 05, 2026
CVE-2026-58052MEDIUM4.8
  • 7-Zip logo7-Zip
  • cpe:2.3:a:7-zip:7-zip
NoYesJun 28, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management