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.

Project Subscriptions

Vendors Products
Hashcat Subscribe
Hashcat Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 22 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl()
First Time appeared Hashcat
Hashcat hashcat
Weaknesses CWE-193
CPEs cpe:2.3:a:hashcat:hashcat:*:*:*:*:*:*:*:*
Vendors & Products Hashcat
Hashcat hashcat
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-22T14:12:43.477Z

Reserved: 2026-07-31T16:10:55.447Z

Link: CVE-2026-68767

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T15:16:20.770

Modified: 2026-08-22T15:16:20.770

Link: CVE-2026-68767

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T16:00:13Z

Weaknesses