CVE-2026-68765: hashcat KeePass KDBX v4 Module Heap Buffer Overflow via Token Field
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
hashcat (KeePass KDBX v4 module, module 34301)to a version that resolves this vulnerability.Fixed in 7.1.2 - Compensating control
Ensure hashcat is not built on/after v7.1.2 for KeePass AESKDF/KDBX v4 module 34301; if you cannot immediately upgrade/downgrade, reduce exposure by not processing KeePass KDBX v4 inputs that could be attacker-controlled until patched.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68765?
The severity of CVE-2026-68765 is rated as medium with a score of 6.1.
What is the impact of CVE-2026-68765?
CVE-2026-68765 can lead to a heap buffer overflow, allowing attackers to corrupt adjacent heap memory.
How do I fix CVE-2026-68765?
To fix CVE-2026-68765, ensure you upgrade to the latest version of hashcat that addresses this vulnerability.
Which modules are affected by CVE-2026-68765?
CVE-2026-68765 affects the KeePass AESKDF/KDBX v4 module in hashcat, specifically module 34301.
What causes CVE-2026-68765?
CVE-2026-68765 is caused by the module's acceptance of an oversized ninth hash field token, allowing buffer overflow.