EXPOSURES › CVE-2026-42482
CVE-2026-42482
CRITICALHashcat v7.1.2 contains a stack-based buffer overflow in its hex conversion functions that allows remote code execution via crafted rule files.
A stack-based buffer overflow in hashcat v7.1.2's mangle_to_hex functions allows an attacker to execute arbitrary code by providing a crafted rule file with 128+ character password candidates. DIB organizations must patch this critical vulnerability immediately, as it enables remote code execution and could be weaponized for ransomware or data exfiltration. The failure stems from a bounds-checking error that ignores the 2x expansion during hex conversion, a classic avoidable flaw in cryptographic tooling.
Shame score — A critical RCE vulnerability in a widely used password-cracking tool exposes DIB systems to remote code execution, and the flaw is entirely avoidable through proper bounds checking.
▸ RECOMMENDED ACTION Remote code execution — patch the affected products on priority.
A stack-based buffer overflow in mangle_to_hex_lower() and mangle_to_hex_upper() in src/rp_cpu.c in hashcat v7.1.2 allows an attacker to cause a denial of service or possibly execute arbitrary code via a crafted rule file, or via the -j or -k rule options used with password candidates of 128 or more characters. The vulnerability is caused by a bounds check that fails to account for the 2x expansion that occurs when password bytes are converted to hexadecimal.