A heap-based buffer overflow vulnerability exists in the hashcat tool, specifically in the outfile_write() function. This function is prone to a buffer overflow when assembling output into a fixed-size buffer without validating the accumulated length, potentially leading to memory corruption and process crashes. The vulnerability can be triggered by a crafted hash file containing an oversized username, which can cause the function to write beyond the buffer's capacity, resulting in memory corruption and potential process crashes. Defenders should prioritize verifying the hashcat version and applying patches if available to prevent potential memory corruption and process crashes.
CVE-2026-68766 hashcat restore file option injection allows attackers to append content to arbitrary files. This issue requires verification of affected versions and remediation from official sources. The vulnerability is caused by hashcat's failure to restrict command-line options when parsing restore files, allowing attackers to inject output-redirecting options like --outfile and --potfile-path. This can lead to code execution when targeting shell startup files. Defenders should verify exposure in systems using hashcat and assess the integrity of shell startup files.
The CVE-2026-68765 vulnerability is a heap buffer overflow in the KeePass AESKDF/KDBX v4 module of hashcat master branch builds after v7.1.2. This vulnerability allows attackers to corrupt adjacent heap memory by supplying an oversized ninth hash field token. The module accepts up to 600 hex characters for the ninth token field but decodes it into a fixed 256-byte buffer with no length check, potentially enabling heap corruption or memory access violations. Security teams and administrators responsible for hashcat installations, particularly those using master branch builds after v7.1.2, should be aware of this vulnerability and take steps to verify and mitigate potential risks. To address this vulnerability, it is essential to review the official CVE record and NVD details for accurate information on affected versions and potential mitigations.