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… (CVE-2026-68767)
The fgetl() function in hashcat's src/filehandling.c contains a vulnerability where it writes a null terminator one byte beyond the allocated buffer if an input line is exactly the buffer length. This out-of-bounds heap write can be triggered by providing a specially crafted hash file, potfile, or wordlist with a line of exactly HCBUFSIZ_LARGE bytes. The vulnerability is assigned CVE-2026-68767 and has a CVSS 3.1 score of 6.1, indicating medium severity.
AI Analysis
Technical Summary
hashcat's fgetl() function in src/filehandling.c improperly handles input lines that are exactly the size of the buffer by writing a null terminator one byte past the caller's buffer boundary. This results in an out-of-bounds heap write (CWE-193). An attacker can exploit this by supplying a hash file, potfile, or wordlist containing a line exactly HCBUFSIZ_LARGE bytes long. The vulnerability has been cataloged as CVE-2026-68767 with a CVSS 3.1 score of 6.1 (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H), indicating local attack vector with low complexity, no privileges required, user interaction required, unchanged scope, no confidentiality impact, low integrity impact, and high availability impact.
Potential Impact
The vulnerability allows an out-of-bounds heap write which can lead to integrity loss and denial of service (availability impact). There is no confidentiality impact reported. Exploitation requires local access and user interaction. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. In the absence of an official fix or patch, avoid processing untrusted hash files, potfiles, or wordlists containing lines exactly the size of HCBUFSIZ_LARGE bytes. Monitor vendor channels for updates and apply patches once available.
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… (CVE-2026-68767)
Description
The fgetl() function in hashcat's src/filehandling.c contains a vulnerability where it writes a null terminator one byte beyond the allocated buffer if an input line is exactly the buffer length. This out-of-bounds heap write can be triggered by providing a specially crafted hash file, potfile, or wordlist with a line of exactly HCBUFSIZ_LARGE bytes. The vulnerability is assigned CVE-2026-68767 and has a CVSS 3.1 score of 6.1, indicating medium severity.
CVSS v3.1
Score 6.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
hashcat's fgetl() function in src/filehandling.c improperly handles input lines that are exactly the size of the buffer by writing a null terminator one byte past the caller's buffer boundary. This results in an out-of-bounds heap write (CWE-193). An attacker can exploit this by supplying a hash file, potfile, or wordlist containing a line exactly HCBUFSIZ_LARGE bytes long. The vulnerability has been cataloged as CVE-2026-68767 with a CVSS 3.1 score of 6.1 (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H), indicating local attack vector with low complexity, no privileges required, user interaction required, unchanged scope, no confidentiality impact, low integrity impact, and high availability impact.
Potential Impact
The vulnerability allows an out-of-bounds heap write which can lead to integrity loss and denial of service (availability impact). There is no confidentiality impact reported. Exploitation requires local access and user interaction. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. In the absence of an official fix or patch, avoid processing untrusted hash files, potfiles, or wordlists containing lines exactly the size of HCBUFSIZ_LARGE bytes. Monitor vendor channels for updates and apply patches once available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vgv2-whp7-2895
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-68767"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a8a27f4acd9273b499bc907
Added to database: 08/22/2026, 22:51:32 UTC
Last enriched: 08/22/2026, 22:53:51 UTC
Last updated: 08/23/2026, 01:46:13 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.