Skip to content

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 vi...

CriticalCVSS 9.8 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

5 packages: 0 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
debian/hashcat(Debian 12) = 6.2.6+ds1-1; = 6.2.6+ds2-1; = 7.1.2+ds1-1; = 7.1.2+ds1-2 +3 more No fix listed No fix yet
debian/hashcat(Debian 13) = 6.2.6+ds2-1; = 7.1.2+ds1-1; = 7.1.2+ds1-2; = 7.1.2+ds1-3 +2 more No fix listed No fix yet
debian/hashcat(Debian 14) = 6.2.6+ds2-1; = 7.1.2+ds1-1; = 7.1.2+ds1-2; = 7.1.2+ds1-3 +2 more No fix listed No fix yet
ubuntu/hashcat(Ubuntu 26.10) All versions No fix listed No fix yet
hashcat = 7.1.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ubuntu/hashcat(Ubuntu:26.10) All versions No fix listed
hashcat = 7.1.2 No fix listed
debian/hashcat(Debian:12) All versions No fix listed
debian/hashcat(Debian:12) = 6.2.6+ds1-1 No fix listed
debian/hashcat(Debian:12) = 6.2.6+ds2-1 No fix listed
debian/hashcat(Debian:12) = 7.1.2+ds1-1 No fix listed
debian/hashcat(Debian:12) = 7.1.2+ds1-2 No fix listed
debian/hashcat(Debian:12) = 7.1.2+ds1-3 No fix listed
debian/hashcat(Debian:12) = 7.1.2+ds1-4 No fix listed
debian/hashcat(Debian:13) All versions No fix listed
debian/hashcat(Debian:13) = 6.2.6+ds2-1 No fix listed
debian/hashcat(Debian:13) = 7.1.2+ds1-1 No fix listed
debian/hashcat(Debian:13) = 7.1.2+ds1-2 No fix listed
debian/hashcat(Debian:13) = 7.1.2+ds1-3 No fix listed
debian/hashcat(Debian:13) = 7.1.2+ds1-4 No fix listed
debian/hashcat(Debian:14) All versions No fix listed
debian/hashcat(Debian:14) = 6.2.6+ds2-1 No fix listed
debian/hashcat(Debian:14) = 7.1.2+ds1-1 No fix listed
debian/hashcat(Debian:14) = 7.1.2+ds1-2 No fix listed
debian/hashcat(Debian:14) = 7.1.2+ds1-3 No fix listed
debian/hashcat(Debian:14) = 7.1.2+ds1-4 No fix listed

References