CVE-2026-68768: hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function
Affects hashcatSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium.
Data as of 24 Nov 2026, 20:58 UTC
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10hashcatpkg:deb/ubuntu/hashcat?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTShashcatpkg:deb/ubuntu/hashcat?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTShashcatpkg:deb/ubuntu/hashcat?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTShashcatpkg:deb/ubuntu/hashcat?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTShashcatpkg:deb/ubuntu/hashcat?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTShashcatpkg:deb/ubuntu/hashcat?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~16 MB), the function sequentially appends the username, separator, hash, and plaintext via memcpy without validating that the accumulated length stays within the buffer capacity. When run with --username --show against a crafted hash file containing an oversized username that nearly fills the buffer, the total assembled output exceeds the buffer, causing a heap buffer overflow that can corrupt memory and crash the process.