hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl()
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-68767
Publishedhashcat'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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-68767 · CVE overview and exploitation status
cve-program · CVE-2026-68767
- https://github.com/hashcat/hashcat/issues/4739
- https://github.com/hashcat/hashcat
- https://github.com/hashcat/hashcat/commit/93b55d37d3b2340013d4036f10181ddc67d44249
- https://github.com/hashcat/hashcat/blob/v7.1.2/src/filehandling.c#L1032-L1060
- https://www.vulncheck.com/advisories/hashcat-through-off-by-one-out-of-bounds-heap-write-in-fgetl
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.