Description
7-Zip before 26.03 contains an uninitialized memory disclosure vulnerability in the SquashFS v4 archive handler (SquashfsHandler.cpp) that allows attackers to leak heap memory by crafting a malicious archive where the superblock’s no_ids field is set so that the final metadata block’s expected size is miscomputed and bypasses the size validation check. By listing or extracting the crafted archive, attackers can cause the application to return uninitialized heap memory as the kpidUserId and kpidGroupId properties, exposing potentially sensitive process memory contents to the user.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 7-Zip | 7-Zip | < 26.03 | 26.03 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | 7zip | 26.03+dfsg-1 | — |
| Debian 13 | 7zip | No fix yet | — |
| Debian 13 | p7zip | 16.02+transitional.1 | — |
| Debian 12 | 7zip +1 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | 7zip | No fix yet | — |
| Ubuntu 26.04 LTS | 7zip | No fix yet | — |
| Ubuntu 24.04 LTS | p7zip | No fix yet | — |
| Ubuntu 22.04 LTS | p7zip | No fix yet | — |
| Ubuntu 20.04 LTS | p7zip | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | p7zip | No fix yet | — |
| Ubuntu 16.04 LTS | p7zip | No fix yet | — |
| Ubuntu 14.04 LTS | p7zip | No fix yet | — |
| Ubuntu Pro 24.04 LTS | 7zip | No fix yet | — |
| Ubuntu Pro 22.04 LTS | 7zip | No fix yet | — |
Advisories 1
- WID-SEC-2026-3960 7-Zip: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Oct 14, 2026
References
- Fixed Release release-notes patch
- Project Webpage product
- VulnCheck Advisory: 7-Zip < 26.03 SquashFS Uninitialized Memory Disclosure via UID/GID Table third-party-advisory