CVE-2026-42482

CRITICAL

hashcat 7.1.2 - Stack-based Buffer Overflow via Rule File or -j/-k Options

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 9.8
EPSS 0.0040
EPSS Percentile 32.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-121 CWE-787
Status published
Products (1)
hashcat/hashcat 7.1.2
Published May 01, 2026
Tracked Since May 01, 2026