Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts malicious PKZIP hash file
-
DeliveryDistributes via forums/direct contact
-
ExploitVictim runs hashcat against file
-
Executionhex_to_binary overflows heap buffer
-
PersistAttacker achieves code execution
-
ImpactExfiltrates password data or installs persistence
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Victim must invoke hashcat version 7.1.2 to process an attacker-controlled hash file using one of the vulnerable PKZIP modules (17200, 17210, 17220, 17225, 17230). The crafted hash file must contain hexadecimal data triggering the vulnerable code path where data_type_enum is ≤1, allowing oversized input to reach the unfixed buffer. Unlike traditional network services, this is not remotely exploitable against default listening ports; exploitation requires social engineering or supply chain positioning to introduce malicious hash files into the victim's workflow. Limiting factors include: hashcat must be installed and actively used for PKZIP hash processing, the victim must have reason to process external/untrusted hash files (common in security research but not general computing), and execution occurs with the user's privileges (not elevated unless hashcat is run as root/administrator). Environments processing only internally generated or cryptographically signed hash files are not vulnerable. The CVSS network vector (AV:N) reflects the ability to deliver the malicious file remotely, not traditional network service exploitation. |
| Impact | CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) suggests critical severity with network attack vector, low complexity, and no authentication requirements. However, this vector classification requires contextualization: 'network accessible' in this context means processing network-sourced input files rather than traditional network service exploitation. Real-world exploitation requires the victim to invoke hashcat against an attacker-supplied PKZIP hash file, which limits exposure compared to remotely exploitable services. The publicly available proof-of-concept on GitHub Gist substantially increases exploitation probability by lowering attacker skill requirements. Absence from CISA KEV indicates no confirmed active exploitation campaigns as of analysis date, suggesting targeted rather than widespread threat activity. SSVC considerations: exploitation status is POC (not active), automatable once POC is weaponized, technical impact is total system compromise (arbitrary code execution in the context of the user running hashcat). Primary risk surfaces include security testing labs processing third-party hash dumps, research environments accepting external password audit requests, and automated hash-cracking pipelines ingesting untrusted data. Organizations not processing external hash files face minimal risk despite high CVSS score. Critical data gap: patch availability not confirmed through official vendor channels in provided references. |
| Exploit ScenarioDerived | An attacker distributes a malicious PKZIP hash file via penetration testing forums, password research communities, or directly to security teams conducting password audits. When a security analyst runs hashcat 7.1.2 against this crafted file using any of the affected PKZIP modules (e.g., 'hashcat -m 17200 malicious.hash wordlist.txt'), the hex_to_binary parser processes the embedded oversized hexadecimal string, overflowing the fixed heap buffer and overwriting adjacent memory. The attacker achieves arbitrary code execution with the privileges of the hashcat process, potentially installing backdoors, exfiltrating sensitive password databases or cracking results, or pivoting to other systems in the security testing environment. Publicly available proof-of-concept code significantly lowers exploitation barriers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 01, 2026
Heap-based buffer overflow in hashcat 7.1.2 enables remote code execution or denial of service through maliciously crafted PKZIP hash files. Attackers can exploit inadequate input validation in the hex_to_binary function affecting PKZIP hash parser modules (17200, 17210, 17220, 17225, 17230) to overflow fixed-size buffers with arbitrary hex data. CVSS 9.8 reflects network-accessible attack vector requiring no authentication or user interaction, though real-world exploitation requires victim to process attacker-supplied hash files. EPSS data not available; no CISA KEV listing indicates no confirmed widespread exploitation. Public proof-of-concept exists (GitHub Gist), elevating exploitation risk for environments processing untrusted hash files.
RemediationAI
Primary mitigation requires upgrading to a patched hashcat version once available; however, no vendor-released patch version is identified in the provided intelligence at time of analysis. Monitor the official hashcat GitHub repository (hashcat/hashcat) and project security advisories for patch announcements. Until patching: (1) Disable or avoid using PKZIP hash modules 17200, 17210, 17220, 17225, and 17230 if operationally feasible, trading PKZIP hash-cracking capability for security; (2) Implement strict input validation by processing only hash files from verified trusted sources with established chain of custody; (3) Execute hashcat in sandboxed environments (containers, VMs, restricted user contexts) to limit code execution impact, accepting performance overhead of isolation; (4) Deploy file integrity monitoring on hash input directories to detect unexpected modifications; (5) For automated pipelines, implement hash file format validation and size restrictions before passing to hashcat, though this may be bypassed by sophisticated payloads. Trade-off analysis: Module disablement eliminates attack surface but renders PKZIP password recovery impossible; sandboxing contains compromise but adds operational complexity and resource consumption. Refer to https://gist.github.com/sgInnora/107f2eb20367e47d58c911e38d56a91f for technical details of the vulnerability.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
hashcat is a widely-deployed password recovery tool supporting 300+ hash algorithms. The vulnerability resides in the PKZIP hash parser's hex_to_binary conversion function, affecting five specific modules for PKZIP-based hash cracking (17200, 17210, 17220, 17225, 17230). CWE-787 (Out-of-bounds Write) occurs when the parser processes user-supplied hash strings with data_type_enum values ≤1. The function decodes attacker-controlled hexadecimal data from the hash string directly into a fixed-size heap buffer without validating that input length fits the destination buffer capacity. This classic heap overflow condition allows writing beyond allocated boundaries, corrupting adjacent heap metadata or data structures. CPE cpe:2.3:a:hashcat:hashcat:7.1.2 identifies the specific affected product version. Exploitation depends on hashcat being invoked to process hash files from untrusted sources, a scenario common in penetration testing workflows, security research environments, and password auditing operations where hash lists may originate externally.
Know when Hashcat gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
A heap-based buffer overflow in hex_to_binary in the PKZIP hash parser in hashcat v7.1.2 allows an attacker to cause a denial of service or possibly execute arbitrary code via a crafted PKZIP hash file. The issue affects modules 17200, 17210, 17220, 17225, and 17230. When data_type_enum<=1, attacker-controlled hex data from a user-supplied hash string is decoded into a fixed-size buffer without proper input-length validation.
Executive ViewAI
Hashcat 7.1.2 contains a critical heap-based buffer overflow in PKZIP hash processing that enables remote code execution when processing maliciously crafted hash files, affecting security teams and penetration testers who rely on this password cracking tool. Organizations using hashcat to process untrusted or externally-sourced hash files face immediate risk of system compromise, with public exploit code already available to lower the barrier for attackers.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Downgrade to hashcat 6.2.6 or earlier; (2) Process hash files only from verified internal sources with cryptographic validation; (3) Execute hashcat in isolated, network-segmented environments with minimal privilege; (4) Implement application whitelisting to restrict hashcat execution; (5) Monitor system logs and file integrity on hashcat-running systems for unauthorized modifications; (6) Disable PKZIP hash modules (17200, 17210, 17220, 17225, 17230) via configuration if continued operation of newer versions is required.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Heap-based buffer overflow in hashcat 7.1.2's Kerberos hash parser enables remote code execution without authentication.
Stack-based buffer overflow in hashcat 7.1.2's rule processing functions enables remote code execution when processing p
Option injection in hashcat's restore file parser (all versions through 7.1.2) allows an attacker who delivers a crafted
Heap buffer overflow in hashcat through version 7.1.2 allows an attacker who controls a hash file to crash the process a
Out-of-bounds heap write in hashcat's fgetl() function affects all versions through 7.1.2, triggered by supplying any in
Heap buffer overflow in hashcat's KeePass AESKDF/KDBX v4 cracking module (module_34301.c) exposes master branch builds a
EUVD-2026-26531
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB