CVE-2026-68767

medium

Description

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.

References

https://www.vulncheck.com/advisories/hashcat-through-off-by-one-out-of-bounds-heap-write-in-fgetl

https://github.com/hashcat/hashcat/issues/4739

https://github.com/hashcat/hashcat/commit/93b55d37d3b2340013d4036f10181ddc67d44249

https://github.com/hashcat/hashcat/blob/v7.1.2/src/filehandling.c#L1032-L1060

https://github.com/hashcat/hashcat

Details

Source: Mitre, NVD

Published: 2026-08-22

Updated: 2026-08-22

Risk Information

CVSS v2

Base Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:C

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Severity: Medium

CVSS v4

Base Score: 6.9

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

Severity: Medium

EPSS

EPSS: 0.00172