Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted KDBX v4 hash file with oversized ninth token
-
DeliveryPrivileged operator runs hashcat module 34301
-
ExploitParser reads 600-char field into 256-byte buffer
-
ExecutionMissing length check allows 300-byte decode
-
Persist44-byte out-of-bounds write corrupts adjacent heap
-
ImpactCrash or heap metadata corruption
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following conditions simultaneously: local system access, high-privilege execution context (PR:H per CVSS 4.0 - the operator must have sufficient rights to run hashcat), and active user interaction (UI:A - a privileged user must explicitly invoke hashcat with the crafted input). The vulnerable code path is triggered only when hashcat processes a KeePass AESKDF/KDBX v4 hash file using module 34301 and the ninth token field of that hash contains more than 512 hex characters. Limiting factors are substantial: no remote or network-based exploitation path exists; the attacker must control the specific hash file fed to the hashcat process; and the operator must explicitly select module 34301. Organizations processing only internally generated or verified KeePass hash inputs are not meaningfully at risk. |
| Impact | The CVSS 4.0 score of 5.2 with vector AV:L/AC:L/AT:N/PR:H/UI:A accurately reflects a tightly constrained exploitability profile. Local attack vector, required high privileges, and mandatory active user interaction mean that exploitation is limited to scenarios where an attacker controls hash file input supplied to a privileged operator running hashcat. The primary impact is availability (VA:H - heap corruption causing crash or memory access violation), with only incidental integrity impact (VI:L - bounded out-of-bounds writes) and no confidentiality impact (VC:N). EPSS data was not provided and cannot be assessed; however, the absence of a CISA KEV listing and no identified public exploit code indicate no confirmed in-the-wild exploitation. The vulnerability is also gated behind a specific feature path (module 34301, KDBX v4 parsing), further reducing automated or opportunistic exploitation risk. Real-world priority is moderate for security teams operating hashcat in shared or adversarial input environments, but low for the broader threat landscape. |
| Exploit ScenarioDerived | An attacker who controls a KeePass KDBX v4 hash file supplied to a privileged operator running a vulnerable hashcat build could craft the ninth token field with up to 600 hex characters, triggering a 44-byte out-of-bounds write into adjacent heap memory when module 34301 parses the input. Under a favorable heap layout, this corruption could destabilize hashcat's internal state, causing a crash (denial of service against an ongoing cracking session) or potentially enabling limited heap metadata manipulation. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Heap buffer overflow in hashcat's KeePass AESKDF/KDBX v4 cracking module (module_34301.c) exposes master branch builds after v7.1.2 to heap memory corruption when a privileged operator processes a crafted hash file containing an oversized ninth token field. The parser accepted up to 600 hex characters for a field decoded into a fixed 256-byte buffer with no length check, enabling up to 44 bytes of out-of-bounds writes into adjacent esalt fields and heap chunk metadata. No public exploit exists and the vulnerability is not listed in CISA KEV; an upstream fix commit is confirmed available.
RemediationAI
The upstream fix is confirmed in commit 6f374c4ff7d5dc951530fbbbcf6b45e3c169b100 (https://github.com/hashcat/hashcat/commit/6f374c4ff7d5dc951530fbbbcf6b45e3c169b100), merged via PR #4755 (https://github.com/hashcat/hashcat/pull/4755). Users should rebuild hashcat from source at or after this commit; a specific tagged release incorporating the fix is not independently confirmed at time of analysis - only the upstream commit. As a compensating control until a build is updated, restrict use of module 34301 to fully trusted KeePass KDBX v4 hash inputs and avoid processing untrusted or externally sourced hash files with vulnerable builds. The fix itself carries no operational side effects, as the corrected limit of 512 hex characters accommodates all valid KeePass v4 header data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
hashcat is an open-source GPU-accelerated password recovery tool. The defect resides in src/modules/module_34301.c, which implements KeePass AESKDF with KDBX v4 support. The root cause (CWE-122, Heap-based Buffer Overflow) is a missing upper-bound validation on the ninth token field during hash parsing: token.len_max[9] was set to 600 hex characters, but the decode target is a fixed 256-byte structure (keepass4->header). A maximally oversized input of 600 hex characters decodes to 300 bytes, writing 44 bytes past the buffer boundary into adjacent heap regions including esalt fields and heap chunk metadata. The fix in commit 6f374c4ff7d5dc951530fbbbcf6b45e3c169b100 corrects the maximum length to 512 (sizeof(keepass4->header) * 2 hex chars) and inserts a post-decode guard: 'if (keepass4->header_len > sizeof(keepass4->header)) return (PARSER_SALT_LENGTH)'. Affected CPE: cpe:2.3:a:hashcat:hashcat:*:*:*:*:*:*:*:*.
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
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:A/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Local-only path via crafted hash file requires high privileges and active user interaction; heap crash drives high availability impact with only marginal integrity exposure and no confidentiality loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
hashcat master branch builds after v7.1.2 contain a heap buffer overflow vulnerability in the KeePass AESKDF/KDBX v4 module (module 34301) that allows attackers to corrupt adjacent heap memory by supplying an oversized ninth hash field token. The module accepts up to 600 hex characters for the ninth token field but decodes it into a fixed 256-byte buffer with no length check, allowing a maximal input to write up to 44 bytes past the buffer boundary into adjacent esalt fields and heap chunk metadata, potentially enabling heap corruption or memory access violations.
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Heap-based buffer overflow in hashcat 7.1.2 enables remote code execution or denial of service through maliciously craft
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
EUVD-2026-60455
GHSA-jfqq-rfm8-8frm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB