---
id: CVE-2026-68765
title: >-
  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 t…
summary: >-
  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 t…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'
cwe:
  - CWE-122
published: '2026-08-17'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T20:06:30.133'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-68765'
references:
  - url: 'https://github.com/hashcat/hashcat'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/hashcat/hashcat/commit/6f374c4ff7d5dc951530fbbbcf6b45e3c169b100
    label: disclosure@vulncheck.com
  - url: 'https://github.com/hashcat/hashcat/pull/4755'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/hashcat-keepass-kdbx-v4-module-heap-buffer-overflow-via-token-field
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.0018
epssPercentile: 0.0666
ingestedAt: '2026-09-24T20:51:40.206Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
