Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-68767 EUVD-2026-64312GHSA-vgv2-whp7-2895

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

Published Aug 22, 2026 · Updated Aug 26, 2026 · 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 products

VendorProductAffectedFixed
hashcat hashcat ≤ 7.1.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 hashcat No fix yet —
Debian 13 hashcat No fix yet —
Debian 12 hashcat No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 hashcat No fix yet —
Ubuntu 26.04 LTS hashcat No fix yet —
Ubuntu 24.04 LTS hashcat No fix yet —
Ubuntu 22.04 LTS hashcat No fix yet —
Ubuntu 20.04 LTS hashcat No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS hashcat No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed hashcat 7.1.2+git942-1.1 openSUSE-SU-2026:12181-1
openSUSE Leap 16.0 hashcat 7.1.2+git942-bp160.1.1 openSUSE-SU-2026:22138-1

Advisories 2

References