8.8

CVE-2026-48095: 7-zip Integer Overflow or Wraparound

CVSS: 8.8v3.1HighModified
AliasesALPINE-CVE-2026-48095MGASA-2026-0238UBUNTU-CVE-2026-48095
Published 05-06-2026Last modified 08-06-2026

Vulnerability summary

CVE-2026-48095 is a high (CVSS 8.8) Integer Overflow or Wraparound vulnerability in 7-zip. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 49.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
45/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.63%
0%100%
Low · -0.49 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 05-06-2026
    PublishedVulnerability first disclosed.
  2. 08-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.63%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

-0.49 pp

From 1.12% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.63%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Ghsl 2026 140 7 Zip

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • 7zip< 22.01+really26.01+dfsg-0+deb12u1 | All versions (No fix recorded) | < 26.01+dfsg-1
  • p7zip< 16.02+really26.01+dfsg-0+deb12u1 | < 16.02+transitional.1
Ubuntu2 products
  • 7zipAll versions (No fix recorded)
  • p7zipAll versions (No fix recorded)
7-zip1 product
Alpine1 product
  • 7zip< 26.01-r0
Mageia1 product
  • 7zip< 26.02-1.mga10
Mcmilk1 product
Opensuse1 product
  • 7zip&distro=openSUSE Tumbleweed< 26.01-1.1

7 vendors · 9 products

References

12 links
Show all 12 references