Vulnerability · Published Aug 17, 2026 · Assigned by VulnCheck
CVE-2026-68765hashcat KeePass KDBX v4 Module Heap Buffer Overflow via Token Field
Medium 6.1
In plain English
A medium-severity heap buffer overflow in hashcat from hashcat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | hashcat | no fix listed | UBUNTU-CVE-2026-68765 |
| Ubuntu:24.04:LTS | hashcat | no fix listed | UBUNTU-CVE-2026-68765 |
| Ubuntu:26.04:LTS | hashcat | no fix listed | UBUNTU-CVE-2026-68765 |
| Ubuntu:26.10 | hashcat | no fix listed | UBUNTU-CVE-2026-68765 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
References
- Product Repository product, patch
- Pull Request issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/hashcat-keepass-kdbx-v4-module-heap-buffer-overflow-via-token-field third-party-advisory