CVE-2026-48095
highpriority · track · 10EPSS 0.011 · 66 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- FixedBosch Rexroth AG PRI7000bosch_psirt
Update to PRI7000 version 1.11.18.2 or newer, if possible.
- MitigationBosch Rexroth AG PRI7000bosch_psirt
Navigate to the "Simulator" Folder typically installed on drive (C:)Windows - ProgramData - Bosch Rexroth AG - PRI7000_Data - V.1.11.XX.X - Common - Simulator In the Simulator folder you can choose three different releases of the PRI7000. The actual one and the two versions before. For each Version please navigate into the "7zip" folder V1.11.XX.X - App - Tools - 7zip Please delete the Folder "Far" in each of the three versions The vulnerable source code is deleted from the computer and can not affect the installed PRI7000 versions
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- HORKimhab/CVE-2026-48095CVE-2026-48095PoC · poc_in_github
affected products (18)
Products and version ranges known to be affected.
- Bosch Rexroth AG PRI7000all versionsfixedbosch_psirtDEcpe:2.3:a:boschrexroth:pri7000:1.11.18.2:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- BOSCH-SA-466086Heap Overflow in PRI70002026-07-22csaf · bosch_psirtDE
Bosch Rexroth AG PRI7000
- WID-SEC-W-2026-16817-Zip: Schwachstelle ermöglicht CodeausführungDeutsch2026-05-26csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in 7-Zip ausnutzen, um beliebigen Programmcode auszuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://securitylab.github.com/advisories/GHSL-2026-140_7-Zip/cnnvd
- https://sourceforge.net/p/sevenzip/discussion/45797/thread/555e132ba4cnnvd
- https://www.7-zip.org/download.htmlPatchcnnvd
- https://securitylab.github.com/advisories/GHSL-2026-140_7-Zip/enisa_euvd
- https://sourceforge.net/p/sevenzip/discussion/45797/thread/555e132ba4enisa_euvd
- https://securitylab.github.com/advisories/GHSL-2026-140_7-Zip/ExploitThird Party Advisorynvd
- https://sourceforge.net/p/sevenzip/discussion/45797/thread/555e132ba4ProductRelease Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan