CVE-2026-48095
published high CVSS 3.1 · 8.8GHSL-2026-140_7-Zip: 7-Zip has a heap buffer overflow via NTFS compressed stream buffer under-allocation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mcmilk | — | 7-Zip<= 26.00 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1820 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | 7zip | Fixed | 26.01-r0 | Package fix record |
| Debian | bullseye | p7zip | Advisory build | 16.02+really26.01+dfsg-0+deb11u1 | DLA-4681-1 |
| SUSE / openSUSE | SLE-15-SP4 | 7zipaarch64 | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| Amazon Linux | AL2023 | 7zipaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1820 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.24 | 7zip | Fixed | 26.01-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP4 | 7zipppc64le | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP4 | 7zips390x | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP4 | 7zipx86_64 | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP5 | 7zipaarch64 | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP5 | 7zipppc64le | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP5 | 7zips390x | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP5 | 7zipx86_64 | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP6 | 7zipaarch64 | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP6 | 7zipppc64le | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP6 | 7zips390x | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP6 | 7zipx86_64 | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP7 | 7zipaarch64 | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP7 | 7zipppc64le | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP7 | 7zips390x | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-15-SP7 | 7zipx86_64 | Advisory build | 26.01-150400.9.6.1 | SUSE-SU-2026:2696-1 |
| SUSE / openSUSE | SLE-16 | 7zipaarch64 | Advisory build | 26.01-160000.1.1 | SUSE-SU-2026:22347-1 |
| SUSE / openSUSE | SLE-16 | 7zipppc64le | Advisory build | 26.01-160000.1.1 | SUSE-SU-2026:22347-1 |
| SUSE / openSUSE | SLE-16 | 7zips390x | Advisory build | 26.01-160000.1.1 | SUSE-SU-2026:22347-1 |
| SUSE / openSUSE | SLE-16 | 7zipx86_64 | Advisory build | 26.01-160000.1.1 | SUSE-SU-2026:22347-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | 7zipaarch64 | Advisory build | 26.01-160000.1.1 | OPENSUSE-SU-2026:21038-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | 7zipppc64le | Advisory build | 26.01-160000.1.1 | OPENSUSE-SU-2026:21038-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | 7zips390x | Advisory build | 26.01-160000.1.1 | OPENSUSE-SU-2026:21038-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | 7zipx86_64 | Advisory build | 26.01-160000.1.1 | OPENSUSE-SU-2026:21038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 7zipaarch64 | Advisory build | 26.01-1.1 | OPENSUSE-SU-2026:10942-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 7zipppc64le | Advisory build | 26.01-1.1 | OPENSUSE-SU-2026:10942-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 7zips390x | Advisory build | 26.01-1.1 | OPENSUSE-SU-2026:10942-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 7zipx86_64 | Advisory build | 26.01-1.1 | OPENSUSE-SU-2026:10942-1 |
| Amazon Linux | AL2023 | 7zipsrc | Listed in advisory | Not stated | ALAS2023-2026-1820 |
| Amazon Linux | AL2023 | 7zipx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1820 |
Description
7-Zip is a file archiver with a high compression ratio. Versions 26.00 and prior contain a heap buffer overflow vulnerability caused by an under-allocation in the NTFS compressed stream buffer (GetCuSize shift UB), potentially allowing attackers to cause arbitrary code execution or application crashes. CInStream::GetCuSize() in the NTFS handler computes the compression-unit buffer size as (UInt32)1 << (BlockSizeLog + CompressionUnit), and a crafted image with ClusterSizeLog >= 28 and CompressionUnit == 4 drives the exponent to 32, which is undefined behavior and collapses on x86/x64 so _inBuf is allocated as 1 byte. ReadStream_FALSE then writes up to 256 MB of attacker-controlled data into that 1-byte buffer in 64 KB iterations, and because the CInStream object sits only 304 bytes after _inBuf, its vtable pointer is overwritten and the next dispatched call achieves a vtable hijack. On 32-bit builds the overflow is unconditionally reached; on 64-bit it requires the parallel 8 GB _outBuf allocation to succeed, otherwise failing closed to denial of service. The NTFS handler is enabled by default in stock 7z.dll and, via signature-based fallback matching "NTFS " at offset 3, will open a crafted image regardless of file extension during extraction or testing. Version 26.01 fixes the issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mcmilk | 7-Zip | <= 26.00 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-787 CWE-787: Out-of-bounds Write
- CWE-190 CWE-190: Integer Overflow or Wraparound
References
2Provider assertions
2GitHub_M · cna
GHSL-2026-140_7-Zip: 7-Zip has a heap buffer overflow via NTFS compressed stream buffer under-allocation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 035e5ffea03189d619b11fbc7fe0fb3f9877b1e684da1fa459a196c37303a5d6
- Ingested
- 23 Sep 2026, 09:17:17 UTC
- Source record
- Official CVE record