CVE-2026-68768: hashcat through 7.1.2 Heap Buffer Overflow in outfile_write() via Oversized Username

Published Aug 22, 2026
·
Updated

hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfilewrite() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZLARGE, ~16 MB), the function sequentially appends the username, separator, hash, and plaintext via memcpy without validating that the accumulated length stays within the buffer capacity. When run with --username --show against a crafted hash file containing an oversized username that nearly fills the buffer, the total assembled output exceeds the buffer, causing a heap buffer overflow that can corrupt memory and crash the process.

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
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness
Aug 19, 58611
Event
via NVD·10:23 PM

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Systems are exposed when an operator runs hashcat locally with --username --show against a crafted hash file. The triggering input is an oversized username that nearly fills the approximately 16 MB output buffer.

2

What must an attacker control or cause for exploitation?

The attacker needs a crafted hash file containing the oversized username and must cause a user to process it with --username --show. The vector is local and requires user interaction; no privileges are required.

3

Is ordinary hashcat use affected?

The described trigger specifically requires the --username and --show options. The provided information does not establish impact for other invocation modes.

4

What can be done before updating?

Avoid running --username --show on untrusted hash files, especially files that may contain exceptionally long usernames. Treat a crash during this operation as a potential indication that the vulnerable output-assembly path was reached.

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