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

Published Aug 22, 2026
·
Updated

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 HCBUFSIZLARGE bytes.

Affected Software

1 affected component
hashcat hashcat<=7.1.2

Event History

Aug 22, 2026
CVE Published
via MITRE·02:12 PM
Data Sourced
via MITRE·02:12 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which files can introduce the vulnerable input?

Hash files, potfiles, and wordlists can trigger the issue if they contain a line exactly HCBUFSIZ_LARGE bytes long.

2

What must happen for exploitation to be possible?

An attacker must provide or cause hashcat to process one of the affected file types containing an exactly HCBUFSIZ_LARGE-byte line. The vulnerable fgetl() call must read that line.

3

How can teams reduce risk before updating?

Do not process untrusted hash files, potfiles, or wordlists without checking for lines exactly HCBUFSIZ_LARGE bytes long. Reject or modify such lines before supplying the files to hashcat.

4

What version range is identified as affected?

The issue is identified in hashcat through version 7.1.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203