hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl()
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.9epss 0.1%
exploitation probability
0.1%top 97% of all CVEs
observed exploitation
nono source reports it
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.
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
Affected products
hashcat · hashcatReferences
https://github.com/hashcat/hashcathttps://github.com/hashcat/hashcat/blob/v7.1.2/src/filehandling.c#L1032-L1060https://github.com/hashcat/hashcat/commit/93b55d37d3b2340013d4036f10181ddc67d44249https://github.com/hashcat/hashcat/issues/4739https://www.vulncheck.com/advisories/hashcat-through-off-by-one-out-of-bounds-heap-write-in-fgetl