CVE-2026-68767
Received Received - Intake

heap write in hashcat filehandling.c fgetl()

Vulnerability report for CVE-2026-68767, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-22

Last updated on: 2026-08-22

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-22
Last Modified
2026-08-22
Generated
2026-08-22
AI Q&A
2026-08-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
hashcat hashcat *
hashcat hashcat to 7.1.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-193 A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is an off-by-one heap buffer overflow in hashcat's fgetl() function. When a line in a hash file, potfile, or wordlist is exactly the size of the buffer (HCBUFSIZ_LARGE), the function writes a null terminator one byte past the buffer's end. This corrupts heap memory and could lead to crashes or other unintended behavior.

Detection Guidance

Check if hashcat version 7.1.2 or earlier is installed. Examine input files (hash files, potfiles, wordlists) for lines exactly 16,777,216 bytes long. Monitor for SIGSEGV or ASAN heap-buffer-overflow errors during hashcat operations.

Impact Analysis

An attacker could exploit this by providing a specially crafted file to cause heap corruption. This may result in denial of service, crashes, or potentially allow arbitrary code execution depending on heap layout. The impact depends on the system's memory management and heap state.

Mitigation Strategies

Upgrade hashcat to a version beyond 7.1.2 where the fgetl() buffer overflow is fixed. Avoid using untrusted input files for hashcat operations until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-68767. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart