Skip to main content

hashcat CVE-2026-68765

| EUVDEUVD-2026-60455 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-08-17 VulnCheck GHSA-jfqq-rfm8-8frm
5.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted KDBX v4 hash file with oversized ninth token
  2. Delivery
    Privileged operator runs hashcat module 34301
  3. Exploit
    Parser reads 600-char field into 256-byte buffer
  4. Execution
    Missing length check allows 300-byte decode
  5. Persist
    44-byte out-of-bounds write corrupts adjacent heap
  6. Impact
    Crash 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

hashcat ef52453 <6f374c4

Affected Packages

euvd hashcat_ef52453 fix: 6f374c4

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

Vendor (VulnCheck) PRIMARY 5.2 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:H/UI:A/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
widely used password cracking tool across security and pentesting community
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy