CVE-2026-42482

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.
References
Link Resource
https://gist.github.com/sgInnora/107f2eb20367e47d58c911e38d56a91f Exploit Mitigation Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:hashcat:hashcat:7.1.2:*:*:*:*:*:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Un desbordamiento de búfer basado en pila en mangle_to_hex_lower() y mangle_to_hex_upper() en src/rp_cpu.c en hashcat v7.1.2 permite a un atacante causar una denegación de servicio o posiblemente ejecutar código arbitrario a través de un archivo de reglas manipulado, o a través de las opciones de reglas -j o -k utilizadas con candidatos de contraseña de 128 o más caracteres. La vulnerabilidad es causada por una comprobación de límites que no tiene en cuenta la expansión 2x que ocurre cuando los bytes de la contraseña se convierten a hexadecimal.

01 May 2026, 19:16

Type Values Removed Values Added
CWE CWE-121

01 May 2026, 17:45

Type Values Removed Values Added
CPE cpe:2.3:a:hashcat:hashcat:7.1.2:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References () https://gist.github.com/sgInnora/107f2eb20367e47d58c911e38d56a91f - () https://gist.github.com/sgInnora/107f2eb20367e47d58c911e38d56a91f - Exploit, Mitigation, Third Party Advisory
CWE CWE-787
First Time Hashcat hashcat
Hashcat

01 May 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-01 14:16

Updated : 2026-11-11 21:10


NVD link : CVE-2026-42482

Mitre link : CVE-2026-42482

CVE.ORG link : CVE-2026-42482


JSON object : View

Products Affected

hashcat

  • hashcat
CWE
CWE-787

Out-of-bounds Write

CWE-121

Stack-based Buffer Overflow