CVE-2026-68768
hashcat through 7.1.2 Heap Buffer Overflow in outfile_write() via Oversized Username
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.9
hashcat through 7.1.2 Heap Buffer Overflow in outfile_write() via Oversized Username
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~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.
- Record
CVE-2026-68768- CVSS 4.0
- 6.9 Medium
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 - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
EUVDEUVD-2026-64313
6.9
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~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.
- Record
EUVD-2026-64313- CVSS 4.0
- 6.9 Medium
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-cm34-rh84-36rf
6.9
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write()...
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~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.
- Record
GHSA-cm34-rh84-36rf- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
NVD
6.9
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~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.
- Record
CVE-2026-68768- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
OSV
6.9
hashcat through 7.1.2 Heap Buffer Overflow in outfile_write() via Oversized Username
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~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.
- Record
CVE-2026-68768- CVSS 4.0
- 6.9 Medium
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 - Weakness
- CWE-120
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-68768
6.9
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~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.
- Record
DEBIAN-CVE-2026-68768- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-68768
6.9
hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~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.
- Record
UBUNTU-CVE-2026-68768- CVSS 4.0
- 6.9 Medium
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 - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2026:12181-1 No score
hashcat-7.1.2+git942-1.1 on GA media
These are all security issues fixed in the hashcat-7.1.2+git942-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:12181-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:22138-1 No score
Security update for hashcat
This update for hashcat fixes the following issues:
Changes in hashcat:
Update to snapshot v7.1.2-942-gef3508ed8:
- Addressed CVE-2026-68768 [boo#1276256], CVE-2026-68767 [boo#1276255], CVE-2026-68766 [boo#1276254]
- Feed plugins and attack-mode 8
- Probability-ordered PCFG and targeted hints in attack-mode 4
- Device-accelerated table attacks in attack-mode 5
- Wordlists inside masks with attack-mode 12
- Account-aware association in attack-mode 9
- Seekable wordlists and one cache location
- A brain server built for large sessions
- Rules in every attack-mode
- A Python bridge that uses every CPU thread
Update to release 7.1.2:
- New algorithms: AS/400 DES, AS/400 SHA1, Cisco-ISE SHA256, LUKS2-Argon2i KDF, KeePass KDBX v4, SAP CODVN H SHA512, sm3crypt, BLAKE2b-256, MD6, sha224
- Use BUILD_MODE=cross to not optimize for build machine CPU (boo#1248352)
Update to release 7.0.0:
- Full release notes at /usr/share/doc/packages/hashcat/docs/releases_notes_v7.0.0.md
- Assimilation Bridge: Integrate external resources like CPUs, FPGAs, embedded interpreters, and more into the cracking pipeline.
- Python Bridge Plugin: Rapidly implement hash-matching logic in Python. No recompilation needed, supports multithreading and rule engine by default.
- Virtual Backend Devices: Internally partitions physical GPUs into multiple logical devices for better bridge integration and async workloads.
- Hash-Mode Autodetection: Omit the -m flag and let Hashcat detect the hash-mode, or use --identify to list possibilities.
- 58 new application-specific hash types, including Argon2, MetaMask, Microsoft Online Account, SNMPv3, GPG, OpenSSH, and LUKS2
- 17 new generic hash constructions used in real-world web apps and protocols
- 11 new primitives added to the crypto library, improving reuse and plugin development
- 20 new tools to extract hashes from popular sources, including APFS, Virtualbox, BitLocker, and various wallet formats
- Complete refactor of the autotuning engine for better device utilization
- Major rewrite of memory management to eliminate previous 4GB allocation caps and enable full memory usage across devices
- Record
openSUSE-SU-2026:22138-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
hashcatDebian:12 |
All versions, plus listed versions 6.2.6+ds1-16.2.6+ds2-17.1.2+ds1-17.1.2+ds1-27.1.2+ds1-37.1.2+ds1-4 |
None known |
hashcatDebian:13 |
All versions, plus listed versions 6.2.6+ds2-17.1.2+ds1-17.1.2+ds1-27.1.2+ds1-37.1.2+ds1-4 |
None known |
hashcatDebian:14 |
All versions, plus listed versions 6.2.6+ds2-17.1.2+ds1-17.1.2+ds1-27.1.2+ds1-37.1.2+ds1-4 |
None known |
hashcatUbuntu:18.04:LTS |
All versions, plus listed versions 3.60-14.0.1-1 |
None known |
hashcatUbuntu:20.04:LTS |
All versions, plus listed versions 5.1.0+ds1-15.1.0+ds1-2 |
None known |
hashcatUbuntu:22.04:LTS |
All versions, plus listed versions 6.1.1+ds1-16.2.5+ds1-2 |
None known |
hashcatUbuntu:24.04:LTS |
All versions, plus listed versions 6.2.6+ds1-16.2.6+ds1-1build16.2.6+ds1-1build2 |
None known |
hashcatUbuntu:26.10 |
All versions, plus listed versions 7.1.2+ds1-37.1.2+ds1-4 |
None known |
hashcatUbuntu:26.04:LTS |
All versions, plus listed versions 6.2.6+ds2-17.1.2+ds1-3 |
None known |
hashcatopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 7.1.2+git942-1.1 | 7.1.2+git942-1.1 |
hashcatopenSUSE:Leap 16.0 From an advisory covering 3 CVEs |
before 7.1.2+git942-bp160.1.1 | 7.1.2+git942-bp160.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-68768 is a medium vulnerability (CVSS 6.9) in Hashcat, published August 22, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 11th percentile. No source names a fixed version.
References
github.com/hashcat/hashcat/issues/4740
github.com/hashcat/hashcat
github.com/hashcat/hashcat/commit/68f56a2d8712867a8520bf4dcf07f6145c23df89
github.com/hashcat/hashcat/blob/v7.1.2/src/outfile.c
vulncheck.com/advisories/hashcat-through-heap-buffer-overflow-in-outfile-write-via-oversized-username
nvd.nist.gov/vuln/detail/CVE-2026-68768
Show 13 moreShow less
github.com/advisories/GHSA-cm34-rh84-36rf
github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68768.json
security-tracker.debian.org/tracker/CVE-2026-68768
ubuntu.com/security/CVE-2026-68768
cve.org/CVERecord?id=CVE-2026-68768
github.com/hashcat/hashcat/pull/4754
suse.com/security/cve/CVE-2026-68767
suse.com/security/cve/CVE-2026-68768
bugzilla.suse.com/1248352
bugzilla.suse.com/1276254
bugzilla.suse.com/1276255
bugzilla.suse.com/1276256
suse.com/security/cve/CVE-2026-68766