CVE-2026-68767
hashcat's fgetl() function in src/filehandling.c writes a null …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/hashcat/hashcat
- github.com/hashcat/hashcat/blob/v7.1.2/src/filehandling.c#L1032-L1060
- github.com/hashcat/hashcat/commit/93b55d37d3b2340013d4036f10181ddc67d44249
- github.com/hashcat/hashcat/issues/4739
- www.vulncheck.com/advisories/hashcat-through-off-by-one-out-of-bounds-heap-write-in-fgetl
- nvd.nist.gov/vuln/detail/CVE-2026-68767
- cve.org/CVERecord?id=CVE-2026-68767
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.