6.9medium
hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl()
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| hashcat hashcat | up to 7.1.2 | CVE List |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | 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 |
| VulnCheck | 6.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
La función fgetl() de hashcat en src/filehandling.c escribe un terminador nulo un byte más allá del búfer del llamador cuando una línea de entrada tiene exactamente la longitud del búfer. Los atacantes pueden desencadenar esta escritura fuera de límites en el heap al proporcionar un archivo de hash, un potfile o una lista de palabras que contenga una línea de exactamente HCBUFSIZ_LARGE bytes.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-68767 changed 2026-08-26 | CVE Terms of Use |
| NVD | CVE-2026-68767 changed 2026-10-14 | Public domain |