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.
Published: 2026-08-17
Score: 5.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 18 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 17 Aug 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Hashcat
Hashcat hashcat
Vendors & Products Hashcat
Hashcat hashcat

Mon, 17 Aug 2026 21:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-21T11:20:56.382Z

Reserved: 2026-07-31T16:10:55.447Z

Link: CVE-2026-68765

cve-icon Vulnrichment

Updated: 2026-08-18T15:16:19.950Z

cve-icon NVD

Status : Received

Published: 2026-08-17T21:16:48.113

Modified: 2026-08-21T12:16:31.060

Link: CVE-2026-68765

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T00:15:03Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow