Skip to content
OpenAdvisories
High · 7.5 CVE-2026-42482 EUVD-2026-26529GHSA-vrww-7rmp-3xrm

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 ca…

Published May 1, 2026 · Updated May 1, 2026 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 hashcat No fix yet —
Debian 13 hashcat No fix yet —
Debian 12 hashcat No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 hashcat No fix yet —
Ubuntu 25.10 hashcat No fix yet —

References