CVE-2026-68765 hashcat KeePass KDBX v4 Module Heap Buffer Overflow via Token Field
MediumCVSS 5.2
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashcat | >= ef52453de9523f6a010652847b61cb340ed5daa5, < 6f374c4ff7d5dc951530fbbbcf6b45e3c169b100 | 6f374c4ff7d5dc951530fbbbcf6b45e3c169b100 |
| ubuntu/hashcat(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/hashcat(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/hashcat(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/hashcat(Ubuntu:26.10) | All versions | No fix listed |
References
- Product Repository patch product
- Pull Request issue-tracking patch
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2026-68765 vendor-advisory