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

Medium 6.9 Published Updated

Attackers can trigger an out-of-bounds heap write in hashcat by providing a specially crafted input file, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-68767?

CVE-2026-68767 is a medium-severity memory corruption vulnerability in hashcat, published on 22 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-193

Which versions are affected by CVE-2026-68767?

How do I fix CVE-2026-68767?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-68767 being exploited?

There is no known exploitation of CVE-2026-68767 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-68767, GHSA-vgv2-whp7-2895, UBUNTU-CVE-2026-68767.

Is CVE-2026-68767 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free