CVE-2026-68767 hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl()
MediumCVSS 6.9
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/hashcat(Debian 12) | = 6.2.6+ds1-1; = 6.2.6+ds2-1; = 7.1.2+ds1-1; = 7.1.2+ds1-2 +3 more | No fix listed | No fix yet |
| debian/hashcat(Debian 13) | = 6.2.6+ds2-1; = 7.1.2+ds1-1; = 7.1.2+ds1-2; = 7.1.2+ds1-3 +2 more | No fix listed | No fix yet |
| debian/hashcat(Debian 14) | = 6.2.6+ds2-1; = 7.1.2+ds1-1; = 7.1.2+ds1-2; = 7.1.2+ds1-3 +2 more | No fix listed | No fix yet |
| ubuntu/hashcat(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/hashcat(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/hashcat(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/hashcat(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| hashcat | <= 7.1.2 | after 7.1.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashcat | <= 7.1.2 | No fix listed |
| debian/hashcat(Debian:12) | All versions | No fix listed |
| debian/hashcat(Debian:12) | = 6.2.6+ds1-1 | No fix listed |
| debian/hashcat(Debian:12) | = 6.2.6+ds2-1 | No fix listed |
| debian/hashcat(Debian:12) | = 7.1.2+ds1-1 | No fix listed |
| debian/hashcat(Debian:12) | = 7.1.2+ds1-2 | No fix listed |
| debian/hashcat(Debian:12) | = 7.1.2+ds1-3 | No fix listed |
| debian/hashcat(Debian:12) | = 7.1.2+ds1-4 | No fix listed |
| debian/hashcat(Debian:13) | All versions | No fix listed |
| debian/hashcat(Debian:13) | = 6.2.6+ds2-1 | No fix listed |
| debian/hashcat(Debian:13) | = 7.1.2+ds1-1 | No fix listed |
| debian/hashcat(Debian:13) | = 7.1.2+ds1-2 | No fix listed |
| debian/hashcat(Debian:13) | = 7.1.2+ds1-3 | No fix listed |
| debian/hashcat(Debian:13) | = 7.1.2+ds1-4 | No fix listed |
| debian/hashcat(Debian:14) | All versions | No fix listed |
| debian/hashcat(Debian:14) | = 6.2.6+ds2-1 | No fix listed |
| debian/hashcat(Debian:14) | = 7.1.2+ds1-1 | No fix listed |
| debian/hashcat(Debian:14) | = 7.1.2+ds1-2 | No fix listed |
| debian/hashcat(Debian:14) | = 7.1.2+ds1-3 | No fix listed |
| debian/hashcat(Debian:14) | = 7.1.2+ds1-4 | No fix listed |
| ubuntu/hashcat(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/hashcat(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/hashcat(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/hashcat(Ubuntu:26.10) | All versions | No fix listed |
References
- GitHub Issue #4739 issue-tracking
- github.com product
- github.com patch
- github.com technical-description
- VulnCheck Advisory: hashcat through 7.1.2 Off-by-One Out-of-Bounds Heap Write in fgetl() third-party-advisory
- Debian Security Tracker CVE-2026-68767 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-64312 third-party-advisory