CVE-2026-68768
Last modified
CVE-2026-68768 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| hashcat | hashcat | <= 7.1.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-68768?
How severe is CVE-2026-68768?
How do I fix CVE-2026-68768?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-68760An unauthenticated user may bypass authentication under spec…5.3
- CVE-2026-68762In JetBrains Ktor before 3.4.1 potential DoS attack via WebS…5.9
- CVE-2026-68763Uncontrolled Resource Consumption vulnerability in Apache To…7.5
- CVE-2026-68765hashcat master branch builds after v7.1.2 contain a heap buf…6.1
- CVE-2026-68766hashcat fails to restrict command-line options when parsing …7.8
- CVE-2026-68767hashcat's fgetl() function in src/filehandling.c writes a nu…6.1
- CVE-2026-68769Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-68770sentence-transformers contains a security control bypass vul…9.8
- CVE-2026-68771ComfyUI v0.23.0 contains an unsafe deserialization vulnerabi…9.8
- CVE-2026-68772ZenML 0.94.6 contains a remote code execution vulnerability …8
- CVE-2026-68775Heap-based buffer overflow in SQL Server allows an authorize…8.8
- CVE-2026-68776Use of uninitialized resource in SQL Server allows an author…6.5
Are you affected by CVE-2026-68768?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
