CVE-2026-68767
hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl()
- State
- Published
- Severity
- 6.9 Medium
- Published
- Aug 22, 2026
- Updated
- Aug 26, 2026
- Reserved
- Jul 31, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 |
| 3.1 | 6.1 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | VulnCheck |
Weaknesses
- CWE-193 Off-by-one Error
Affected Products
| Product | Versions |
|---|---|
hashcathashcat |
|
References
- GitHub Issue #4739issue-tracking
- https://github.com/hashcat/hashcatproduct
- https://github.com/hashcat/hashcat/commit/93b55d37d3b2340013d4036f10181ddc67d44249patch
- https://github.com/hashcat/hashcat/blob/v7.1.2/src/filehandling.c#L1032-L1060technical-description
- VulnCheck Advisory: hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl()third-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.