CVE-2026-68767 PUBLISHED

hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl()

Assigner: VulnCheck
Reserved: 31.07.2026 Published: 22.08.2026 Updated: 22.08.2026

hashcat's fgetl() function in src/filehandling.c writes a null terminator one byte past the caller's buffer when an input line is exactly the buffer length. Attackers can trigger this out-of-bounds heap write by providing a hash file, potfile, or wordlist containing a line of exactly HCBUFSIZ_LARGE bytes.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor hashcat
Product hashcat
Versions Default: unaffected
  • affected from 0 to 7.1.2 (incl.)

Credits

  • Piotr Kowalczyk finder

References

Problem Types

  • Off-by-one Error CWE