CVE-2026-68768: hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c
Affects hashcatSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium.
Data as of 20 Nov 2026, 17:35 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 20 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.
AI-suggested
Until a fix is available, avoid running hashcat with the --username --show options against untrusted or crafted hash files that may contain oversized usernames.
Description
Hashcat contains a heap-based buffer overflow vulnerability in the outfile_write() function in src/outfile.c. This occurs when assembling output into a fixed-size buffer (~16 MB) without validating the total length, allowing an out-of-bounds write if a crafted hash file with an oversized username is used. The vulnerability can cause memory corruption and process crashes when running hashcat with --username --show against such crafted input.
References
- nvd.nist.gov/vuln/detail/CVE-2026-68768 (opens in a new tab)
- github.com/hashcat/hashcat/issues/4740 (opens in a new tab)
- github.com/hashcat/hashcat/commit/68f56a2d8712867a8520bf4dcf07f6145c23df89 (opens in a new tab)
- github.com/hashcat/hashcat (opens in a new tab)
- github.com/hashcat/hashcat/blob/v7.1.2/src/outfile.c (opens in a new tab)
- vulncheck.com/advisories/hashcat-through-heap-buffer-overflow-in-outfile-write-via-oversized-username (opens in a new tab)
- ubuntu.com/security/CVE-2026-68768 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-68768 (opens in a new tab)
- github.com/hashcat/hashcat/pull/4754 (opens in a new tab)