CVE-2026-68765hashcat 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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | hashcat | Fix pending | UBUNTU-CVE-2026-68765 | |
| Ubuntu 26.04 | hashcat | Under investigation | UBUNTU-CVE-2026-68765 | |
| Ubuntu 24.04 | hashcat | Under investigation | UBUNTU-CVE-2026-68765 | |
| Ubuntu 22.04 | hashcat | Under investigation | UBUNTU-CVE-2026-68765 | |
| Ubuntu 20.04 | hashcat | Fix pending | UBUNTU-CVE-2026-68765 | |
| Ubuntu 18.04 | hashcat | Fix pending | UBUNTU-CVE-2026-68765 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- hashcat: affected: ef52453de9523f6a010652847b61cb340ed5daa5 to before 6f374c4ff7d5dc951530fbbbcf6b45e3c169b100; fixed in
6f374c4ff7d5dc951530fbbbcf6b45e3c169b100
Vendor advisories:
- https://github.com/hashcat/hashcat (patch)
- https://github.com/hashcat/hashcat/pull/4755 (patch)
- https://github.com/hashcat/hashcat/commit/6f374c4ff7d5dc951530fbbbcf6b45e3c169b100 (patch)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.