Critical 7-Zip Heap Overflow in NTFS Parsing Enables Possible Code Execution
A critical vulnerability in 7-Zip tracked as CVE-2026-48095 and GHSL-2026-140 allows attackers to trigger a heap-based buffer overflow when a user opens a specially crafted archive containing an NTFS volume image. The flaw affects 7-Zip 26.00 and earlier and stems from incorrect buffer size calculations and insufficient boundary checks in the NTFS handler, where a computed buffer can shrink to 1 byte while later logic writes up to 256 MB of attacker-controlled data into it. Researchers said the bug can cause memory corruption, crashes, denial of service, and potentially arbitrary code execution, including through possible vtable pointer overwrite under favorable conditions.
The vulnerable NTFS handler is enabled by default in stock 7z.dll, and exploitation does not depend on a specific file extension because 7-Zip uses signature-based fallback matching for NTFS images. The issue was privately reported to the developers in April and fixed in 7-Zip 26.01, with vendor and researcher advisories later published alongside a Python proof-of-concept. With 7-Zip widely deployed on Windows and Linux systems and embedded in automated workflows and other software, defenders have little mitigation beyond upgrading to the patched release because no workaround has been identified.

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
3 events from the most recent confirmed update back to the earliest known activity.
Advisory and Python proof-of-concept published
Researchers and the vendor later published an advisory for CVE-2026-48095 and released a Python proof-of-concept demonstrating exploitation against vulnerable 7-Zip versions. The disclosure highlighted that no workaround exists other than upgrading to a patched release.
7-Zip 26.01 released with fix for CVE-2026-48095
7-Zip version 26.01 fixed the NTFS handler heap buffer overflow affecting version 26.00 and earlier. The issue could allow crashes, denial of service, or potentially arbitrary code execution via a crafted NTFS image.
Vulnerability privately reported to 7-Zip developers
The heap-based buffer overflow vulnerability later tracked as CVE-2026-48095 / GHSL-2026-140 was privately reported to the 7-Zip developers in April. The flaw affects outdated 7-Zip versions when parsing a specially crafted NTFS volume image.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
Critical 7-Zip Vulnerability Exposes Millions of Systems to Potential Malware Attacks - CySecurity News - Latest Information Security and Hacking Incidents
cysecurity.news
Open sourceCVE-2026-48095 - GHSL-2026-140_7-Zip: 7-Zip has a heap buffer overflow via NTFS compressed stream buffer under-allocation
cvefeed.io
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.


