CVE-2026-48095
A public proof of concept exists; no exploitation attested.
- Published2026-06-05
- Fixed in26.01
- WeaknessCWE-190 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-06-0515:16CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 26.1 | < 26.01 | 26.01 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- mcmilk 7-ZipAffected
- = <= 26.00no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-06-05
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- 7zipUbuntu:Pro:24.04:LTSall versions · no fixed version listed
- 7zipUbuntu:Pro:22.04:LTSall versions · no fixed version listed
- 7zipUbuntu:26.10all versions · no fixed version listed
- 7zipUbuntu:26.04:LTSall versions · no fixed version listed
- 7zipUbuntu:25.10all versions · no fixed version listed
- 7zipSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 26.01-160000.1.1
- 7zipSUSE:Linux Enterprise Server for SAP Applications 15 SP6all versions · fixed in 26.01-150400.9.6.1
- 7zipSUSE:Linux Enterprise Server for SAP Applications 15 SP5all versions · fixed in 26.01-150400.9.6.1
26 more package ranges on OSV.dev
Vendor advisories
- CVE-2026-48095 Red Hat Product Security
7-Zip: 7-Zip: Arbitrary code execution via heap buffer overflow in NTFS handler
Fix
- Update 7-zip to 26.01
Advisories and patches
- sourceforge.netRelease Notes
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-06-08
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01HORKimhab/CVE-2026-48095
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2026-06-08
- CNACVSS 3.18.8known since 2026-10-23
- CNAweakness (CWE)CWE-190, CWE-787known since 2026-10-23
- FIRST EPSSEPSS score1.1 %2026-11-09
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
Identifiers
- EUVD-2026-34838same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- MINI-38ph-r5x6-2gv7same flawMinimOS · LicenseRef-unstated
- MGASA-2026-0238advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2026:10942-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:21038-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2026:22347-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:2696-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2026-06-05
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2026-48095?
Is CVE-2026-48095 actively exploited?
What is the CVSS score for CVE-2026-48095?
Running 7-Zip? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0