CVE-2026-68767
JSON

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 packageVersionsReported by
hashcat hashcatup to 7.1.2CVE List

All scores

VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
VulnCheck6.1medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Classification

CWE-193

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

SourceRecordLicence
CVE ListCVE-2026-68767 changed 2026-08-26CVE Terms of Use
NVDCVE-2026-68767 changed 2026-10-14Public domain