CVE-2026-68765

hashcat KeePass KDBX v4 Module Heap Buffer Overflow via Token Field

Published Aug 17, 2026 CVSS 4.0 · 5.2 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A heap buffer overflow exists in the KeePass AESKDF/KDBX v4 module of hashcat. The module accepts a ninth hash field token of up to 600 hexadecimal characters but writes the decoded data into a fixed 256‑byte buffer without a length check. This allows an oversized input to overwrite up to 44 bytes of heap space beyond the buffer, corrupting adjacent esalt fields and heap chunk metadata. If an attacker can supply such a token, they can corrupt process memory, potentially leading to arbitrary code execution or a denial‑of‑service condition.

Affected Systems

The vulnerability is present in hashcat (hashcat:hashcat) master builds following version 7.1.2. All releases built from the master branch after v7.1.2 that incorporate the unpatched KeePass module may be affected. No specific patch version is listed, but the issue is documented in the hashcat repository commits and pull request history.

Risk and Exploitability

The CVSS score of 5.2 indicates a moderate severity. EPSS data is unavailable, and the vulnerability is not yet listed in the CISA KEV catalog. The overflow requires the attacker to supply a specially crafted KDBX v4 file or similar input to hashcat; thus, the attack vector is local or application‑injected, not remote. Successful exploitation would corrupt heap memory, enabling potential memory corruption or arbitrary code execution if the beneficiary can overwrite control data structures. The risk is highest in environments where hashcat runs with elevated privileges or processes untrusted credential files.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest hashcat release that contains the patched KeePass module
  • If an update cannot be applied, avoid processing KDBX v4 files from untrusted sources or disable the vulnerable module
  • Run hashcat with the minimum privileges required and monitor its execution for crashes or abnormal memory usage

Generated by OpenCVE AI on August 18, 2026 at 00:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:hashcat:hashcat:-:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Hashcat
Hashcat hashcat
Vendors & Products Hashcat
Hashcat hashcat
Type Values Removed Values Added
Description 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.
Title hashcat KeePass KDBX v4 Module Heap Buffer Overflow via Token Field
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 5.2, 'vector': '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'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:08 PM
Reserved
Jul 31, 2026, 4:10 PM
Status
Deferred
Published
Aug 17, 2026, 9:16 PM
Modified
Sep 24, 2026, 8:06 PM