cve.bz

CVE-2026-48095 7-zip 7-zip: Year 2038 problem, Y2K38, Y2038, Epochalypse

8.8 highExploit referenceEPSS 1.1%

High (8.8) in 7-zip 7-zip. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-06-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-48095 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-48095?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-48095?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-48095 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
7-zip:7-zipbefore 26.01

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11p7zip16.02+really26.01+dfsg-0+deb11u1DLA-4681-1
Debian127zip22.01+really26.01+dfsg-0+deb12u1DEBIAN-CVE-2026-48095
Debian12p7zip16.02+really26.01+dfsg-0+deb12u1DEBIAN-CVE-2026-48095
Debian137zipno fix listedDEBIAN-CVE-2026-48095
Debian13p7zip16.02+transitional.1DEBIAN-CVE-2026-48095
Debian147zip26.01+dfsg-1DEBIAN-CVE-2026-48095
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 2 morep7zipno fix listedUBUNTU-CVE-2026-48095
Ubuntu25.10, 26.04:LTS, 26.10 and 2 more7zipno fix listedUBUNTU-CVE-2026-48095
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 more7zip26.01-150400.9.6.1SUSE-SU-2026:2696-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.07zip26.01-160000.1.1SUSE-SU-2026:22347-1
openSUSELeap 16.07zip26.01-160000.1.1openSUSE-SU-2026:21038-1
openSUSETumbleweed7zip26.01-1.1openSUSE-SU-2026:10942-1
Alpinev3.247zip26.01-r0ALPINE-CVE-2026-48095

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON