Critical 7-Zip NTFS Handler Flaw Enables Code Execution via Crafted Archives
Researchers disclosed CVE-2026-48095, a critical heap buffer overflow in 7-Zip affecting version 26.00 and earlier that can lead to application crashes, denial of service, or arbitrary code execution. The bug, reported by Jaroslav Lobačevski of GitHub Security Lab and tracked in advisory GHSL-2026-140, resides in the NTFS archive handler’s CInStream::GetCuSize() logic, where an under-allocation can shrink a buffer to 1 byte before a later operation writes up to 256 MB of attacker-controlled data into it. The resulting heap corruption can overwrite adjacent objects, including a stream object’s vtable pointer, creating a path to code execution.
The vulnerability can be triggered simply by opening a specially crafted file because 7-Zip uses signature-based fallback detection and may route files disguised as .7z, .zip, or .rar into the vulnerable NTFS parser regardless of extension. Reports say both 32-bit and 64-bit builds are affected, with 64-bit systems that have sufficient memory more likely to reach reliable code execution, while lower-memory systems may instead crash. Public disclosure included technical details and a Python proof-of-concept generator, raising the risk of weaponization; the issue carries a CVSS 3.1 score of 8.8, and users are being urged to update 7-Zip and avoid opening untrusted archives.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
4 events from the most recent confirmed update back to the earliest known activity.
7-Zip fixes CVE-2026-48095 in version 26.01
7-Zip addressed CVE-2026-48095 in release 26.01, remediating the heap buffer overflow in the NTFS archive handler that affected version 26.00 and earlier. The fix followed public disclosure of the flaw and its proof-of-concept exploit.
Technical details and PoC for CVE-2026-48095 are publicly disclosed
Researchers publicly disclosed CVE-2026-48095 on 2026-05-26, describing an under-allocation bug in CInStream::GetCuSize() that can shrink a buffer to 1 byte before a large attacker-controlled write. The disclosure included exploitation details involving vtable hijacking and a Python proof-of-concept generator, increasing the risk of weaponization.
GitHub Security Lab reports 7-Zip heap overflow to maintainers
Jaroslav Lobačevski of GitHub Security Lab discovered and responsibly reported a heap buffer overflow in 7-Zip's NTFS archive handler, later tracked as CVE-2026-48095 and GHSL-2026-140. The flaw affects 7-Zip through version 26.00 and can lead to denial of service or arbitrary code execution.
GitHub Security Lab discloses multiple 7-Zip vulnerabilities
An oss-sec post disclosed multiple memory access violations in 7-Zip 26.00 across SquashFS, UEFI capsule, UDF, WIM, UEFI firmware, Ar, and NTFS handlers, plus a path traversal flaw in the 7zDec SDK sample extractor. The post states the issues were coordinated through private reporting in April 2026 and fixed in 7-Zip 26.01, released on 2026-04-27.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
7 references tracked. Mallory keeps watching after this page renders.
Wide-ranging 7-zip vulnerability with 8.8 CVE rating allows for code execution - hundreds of millions of machines potentially at risk | Tom's Hardware
tomshardware.com
Open sourceCVE-2026-48095: 7-Zip Heap Overflow Flaw
socprime.com
Open sourceCVE-2026-48095: 7-Zip Heap Buffer Overflow Vulnerability | The CyberSec Guru
thecybersecguru.com
Open sourceNew 7-Zip Vulnerabilities Let Attackers Execute Arbitrary Code and Compromise Systems - Cyber Security News
cybersecuritynews.com
Open source7-Zip Heap Buffer Overflow: CVE-2026-48095 Details
securityonline.info
Open sourceoss-sec: Various memory access violations in 7-Zip
seclists.org
Open sourceGitHub - dhmosfunk/7-Zip-CVE-2025-0411-POC: This repository contains POC scenarios as part of CVE-2025-0411 MotW bypass. · GitHub
github.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


