CVE-2026-68767

NameCVE-2026-68767
Descriptionhashcat'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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
hashcat (PTS)bullseye6.1.1+ds1-1vulnerable
bookworm6.2.6+ds1-1vulnerable
trixie6.2.6+ds2-1vulnerable
forky, sid7.1.2+ds1-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
hashcatsource(unstable)(unfixed)

Notes

https://github.com/hashcat/hashcat/issues/4739
https://github.com/hashcat/hashcat/pull/4750
Fixed by: https://github.com/hashcat/hashcat/commit/93b55d37d3b2340013d4036f10181ddc67d44249

Search for package or bug name: Reporting problems