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.
3.60-14.0.1-15.1.0+ds1-15.1.0+ds1-26.1.1+ds1-16.2.5+ds1-26.2.6+ds1-16.2.6+ds1-1build16.2.6+ds1-1build26.2.6+ds2-16.2.6+ds2-17.1.2+ds1-3Exploitability
AV:NAC:LPR:NUI:NScope
S:UImpact
C:HI:HA:HCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H