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

[CVE catalog]

Severity
High · CVSS 8.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debian7zipsid26.05+dfsg-1fixed
Debian7zipforky26.05+dfsg-1fixed
Debian7ziptrixie25.01+dfsg-1~deb13u2vulnerable
Debian7zipbookworm22.01+really26.01+dfsg-0+deb12u1fixed
Debian7zipbookworm-security22.01+really26.02+dfsg-0+deb12u1fixed
Debianp7ziptrixie16.02+transitional.1fixed
Debianp7zipbookworm16.02+really26.01+dfsg-0+deb12u1fixed
Debianp7zipbookworm-security16.02+really26.02+dfsg-0+deb12u1fixed
Cpe7zipNot reported22.01+really26.01+dfsg-0+deb12u1fixed
Cpe7-zipNot reported26.01fixed
Alpine7zip3.2426.01-r0fixed
Opensuse7ziptumbleweed26.01-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debian7zipsourcesid26.01+dfsg-1not yet assignedNot reportedNot reported
Debian7zipsourceforky26.01+dfsg-1not yet assignedNot reportedNot reported
Debian7zipsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debian7zipsourcebookworm22.01+really26.01+dfsg-0+deb12u1not yet assignedNot reportedNot reported
Debianp7zipsourcetrixie16.02+transitional.1not yet assignedNot reportedNot reported
Debianp7zipsourcebookworm16.02+really26.01+dfsg-0+deb12u1not yet assignedNot reportedNot reported
Cpe7zipcpeNot reported22.01+really26.01+dfsg-0+deb12u1Not reportedNot reportedNot reported
Cpe7-zipcpeNot reported26.01Not reportedNot reportedNot reported
Alpine7zipapk3.2426.01-r0Not reportedALPINE-CVE-2026-48095Not reported
Opensuse7ziprpmtumbleweed26.01-1.1Not reportedOPENSUSE-SU-2026:10942-1Not reported

Notes

[trixie] 7zip: Minor issue

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [7zip]Affected
    Details (2)
    • 25.01+dfsg-1~deb13u2 · amd64 · trixie

      Affected

      nvd · 7zip · debian · 13

    • 25.01+dfsg-1~deb13u2 · arm64 · trixie

      Affected

      nvd · 7zip · debian · 13

  • [7zip-standalone]Affected

    Source package: [7zip]

    Details (2)
    • 25.01+dfsg-1~deb13u2 · amd64 · trixie

      Affected

      nvd · 7zip · debian · 13

    • 25.01+dfsg-1~deb13u2 · arm64 · trixie

      Affected

      nvd · 7zip · debian · 13

  • [p7zip]Fixed
    Details (2)
    • 16.02+transitional.1 · all · trixie

      Fixed · Fixed: 16.02+transitional.1

      nvd · p7zip · debian · 13

    • 16.02+transitional.1 · all · trixie

      Fixed · Fixed: 16.02+transitional.1

      nvd · p7zip · debian · 13

  • [p7zip-full]Fixed

    Source package: [p7zip]

    Details (2)
    • 16.02+transitional.1 · all · trixie

      Fixed · Fixed: 16.02+transitional.1

      nvd · p7zip · debian · 13

    • 16.02+transitional.1 · all · trixie

      Fixed · Fixed: 16.02+transitional.1

      nvd · p7zip · debian · 13

[Debian 12 (Bookworm)]

  • [7zip]Fixed
    Details (6)
    • 22.01+really26.01+dfsg-0+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 22.01+really26.01+dfsg-0+deb12u1

      nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12

    • 22.01+really26.01+dfsg-0+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 22.01+really26.01+dfsg-0+deb12u1

      nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12

    • 25.01+dfsg-1~deb13u1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 22.01+really26.01+dfsg-0+deb12u1

      nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12

    • 25.01+dfsg-1~deb13u1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 22.01+really26.01+dfsg-0+deb12u1

      nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12

    • 22.01+really26.02+dfsg-0+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 22.01+really26.01+dfsg-0+deb12u1

      nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12

    • 22.01+really26.02+dfsg-0+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 22.01+really26.01+dfsg-0+deb12u1

      nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12

  • Source package: [7zip]

    Details (2)
    • 25.01+dfsg-1~deb13u1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 22.01+really26.01+dfsg-0+deb12u1

      nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12

    • 25.01+dfsg-1~deb13u1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 22.01+really26.01+dfsg-0+deb12u1

      nvd · 7zip · debian · bookworm; nvd · 7zip · debian · 12

  • [p7zip]Fixed
    Details (4)
    • 16.02+really26.01+dfsg-0+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 16.02+really26.01+dfsg-0+deb12u1

      nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12

    • 16.02+really26.01+dfsg-0+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 16.02+really26.01+dfsg-0+deb12u1

      nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12

    • 16.02+really26.02+dfsg-0+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 16.02+really26.01+dfsg-0+deb12u1

      nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12

    • 16.02+really26.02+dfsg-0+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 16.02+really26.01+dfsg-0+deb12u1

      nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12

  • [p7zip-full]Fixed

    Source package: [p7zip]

    Details (4)
    • 16.02+really26.01+dfsg-0+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 16.02+really26.01+dfsg-0+deb12u1

      nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12

    • 16.02+really26.01+dfsg-0+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 16.02+really26.01+dfsg-0+deb12u1

      nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12

    • 16.02+really26.02+dfsg-0+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 16.02+really26.01+dfsg-0+deb12u1

      nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12

    • 16.02+really26.02+dfsg-0+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 16.02+really26.01+dfsg-0+deb12u1

      nvd · p7zip · debian · bookworm; nvd · p7zip · debian · 12

[openSUSE Tumbleweed]

  • [7zip]Fixed

    Source package: [7zip]

    Details (1)
    • 26.02-2.1 · x86_64 · tumbleweed

      Fixed · Fixed: 26.01-1.1

      nvd · 7zip · opensuse · tumbleweed

Observed:

References