# CVE-2026-68767: hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl()

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-22T14:12:43.477Z
- Modified: 2026-10-14T13:10:00.187Z
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- hashcat hashcat: up to 7.1.2

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`

## References

- <https://github.com/hashcat/hashcat/issues/4739> (issue-tracking)
- <https://github.com/hashcat/hashcat> (product)
- <https://github.com/hashcat/hashcat/commit/93b55d37d3b2340013d4036f10181ddc67d44249> (patch)
- <https://github.com/hashcat/hashcat/blob/v7.1.2/src/filehandling.c#L1032-L1060> (technical-description)
- <https://www.vulncheck.com/advisories/hashcat-through-off-by-one-out-of-bounds-heap-write-in-fgetl> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-68767](https://www.cve.org/CVERecord?id=CVE-2026-68767), CVE Terms of Use, modified 2026-08-26
- NVD: [CVE-2026-68767](https://nvd.nist.gov/vuln/detail/CVE-2026-68767), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-68767 · Whole record: https://cve.day/CVE-2026-68767.json · Rebuilt by cve.day 2026-11-25T22:59:34.877Z
