
CVE catalog
CVE-2026-48095
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 (GetCuS
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.12% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | 7zip | sid | 26.05+dfsg-1 | fixed |
| Debian | 7zip | forky | 26.05+dfsg-1 | fixed |
| Debian | 7zip | trixie | 25.01+dfsg-1~deb13u2 | vulnerable |
| Debian | 7zip | bookworm | 22.01+really26.01+dfsg-0+deb12u1 | fixed |
| Debian | 7zip | bookworm-security | 22.01+really26.02+dfsg-0+deb12u1 | fixed |
| Debian | p7zip | trixie | 16.02+transitional.1 | fixed |
| Debian | p7zip | bookworm | 16.02+really26.01+dfsg-0+deb12u1 | fixed |
| Debian | p7zip | bookworm-security | 16.02+really26.02+dfsg-0+deb12u1 | fixed |
| Cpe | 7zip | Not reported | 22.01+really26.01+dfsg-0+deb12u1 | fixed |
| Cpe | 7-zip | Not reported | 26.01 | fixed |
| Alpine | 7zip | 3.24 | 26.01-r0 | fixed |
| Opensuse | 7zip | tumbleweed | 26.01-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | 7zip | source | sid | 26.01+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | 7zip | source | forky | 26.01+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | 7zip | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | 7zip | source | bookworm | 22.01+really26.01+dfsg-0+deb12u1 | not yet assigned | Not reported | Not reported |
| Debian | p7zip | source | trixie | 16.02+transitional.1 | not yet assigned | Not reported | Not reported |
| Debian | p7zip | source | bookworm | 16.02+really26.01+dfsg-0+deb12u1 | not yet assigned | Not reported | Not reported |
| Cpe | 7zip | cpe | Not reported | 22.01+really26.01+dfsg-0+deb12u1 | Not reported | Not reported | Not reported |
| Cpe | 7-zip | cpe | Not reported | 26.01 | Not reported | Not reported | Not reported |
| Alpine | 7zip | apk | 3.24 | 26.01-r0 | Not reported | ALPINE-CVE-2026-48095 | Not reported |
| Opensuse | 7zip | rpm | tumbleweed | 26.01-1.1 | Not reported | OPENSUSE-SU-2026:10942-1 | Not reported |
Notes
[trixie] 7zip: Minor issue
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [7zip]Affected
Details (2)
25.01+dfsg-1~deb13u2· amd64 · trixieAffected
nvd · 7zip · debian · 13
25.01+dfsg-1~deb13u2· arm64 · trixieAffected
nvd · 7zip · debian · 13
- [7zip-standalone]Affected
Source package: [7zip]
Details (2)
25.01+dfsg-1~deb13u2· amd64 · trixieAffected
nvd · 7zip · debian · 13
25.01+dfsg-1~deb13u2· arm64 · trixieAffected
nvd · 7zip · debian · 13
- [p7zip]Fixed
Details (2)
16.02+transitional.1· all · trixieFixed · Fixed:
16.02+transitional.1nvd · p7zip · debian · 13
16.02+transitional.1· all · trixieFixed · Fixed:
16.02+transitional.1nvd · p7zip · debian · 13
- [p7zip-full]Fixed
Source package: [p7zip]
Details (2)
16.02+transitional.1· all · trixieFixed · Fixed:
16.02+transitional.1nvd · p7zip · debian · 13
16.02+transitional.1· all · trixieFixed · Fixed:
16.02+transitional.1nvd · p7zip · debian · 13
[Debian 12 (Bookworm)]
- [7zip]Fixed
Details (6)
22.01+really26.01+dfsg-0+deb12u1· amd64 · bookwormFixed · Fixed:
22.01+really26.01+dfsg-0+deb12u1nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12
22.01+really26.01+dfsg-0+deb12u1· arm64 · bookwormFixed · Fixed:
22.01+really26.01+dfsg-0+deb12u1nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12
25.01+dfsg-1~deb13u1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
22.01+really26.01+dfsg-0+deb12u1nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12
25.01+dfsg-1~deb13u1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
22.01+really26.01+dfsg-0+deb12u1nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12
22.01+really26.02+dfsg-0+deb12u1· amd64 · bookworm-securityFixed · Fixed:
22.01+really26.01+dfsg-0+deb12u1nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12
22.01+really26.02+dfsg-0+deb12u1· arm64 · bookworm-securityFixed · Fixed:
22.01+really26.01+dfsg-0+deb12u1nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12
- [7zip-standalone]Fixed
Source package: [7zip]
Details (2)
25.01+dfsg-1~deb13u1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
22.01+really26.01+dfsg-0+deb12u1nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12
25.01+dfsg-1~deb13u1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
22.01+really26.01+dfsg-0+deb12u1nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12
- [p7zip]Fixed
Details (4)
16.02+really26.01+dfsg-0+deb12u1· amd64 · bookwormFixed · Fixed:
16.02+really26.01+dfsg-0+deb12u1nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12
16.02+really26.01+dfsg-0+deb12u1· arm64 · bookwormFixed · Fixed:
16.02+really26.01+dfsg-0+deb12u1nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12
16.02+really26.02+dfsg-0+deb12u1· amd64 · bookworm-securityFixed · Fixed:
16.02+really26.01+dfsg-0+deb12u1nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12
16.02+really26.02+dfsg-0+deb12u1· arm64 · bookworm-securityFixed · Fixed:
16.02+really26.01+dfsg-0+deb12u1nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12
- [p7zip-full]Fixed
Source package: [p7zip]
Details (4)
16.02+really26.01+dfsg-0+deb12u1· amd64 · bookwormFixed · Fixed:
16.02+really26.01+dfsg-0+deb12u1nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12
16.02+really26.01+dfsg-0+deb12u1· arm64 · bookwormFixed · Fixed:
16.02+really26.01+dfsg-0+deb12u1nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12
16.02+really26.02+dfsg-0+deb12u1· amd64 · bookworm-securityFixed · Fixed:
16.02+really26.01+dfsg-0+deb12u1nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12
16.02+really26.02+dfsg-0+deb12u1· arm64 · bookworm-securityFixed · Fixed:
16.02+really26.01+dfsg-0+deb12u1nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12
[openSUSE Tumbleweed]
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10942-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-48095]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-48095]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-48095]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10942-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-48095]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48095.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1681.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]