Out-of-bounds Write Affecting hashcat package, versions *


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.4% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-HASHCAT-16355048
  • published4 May 2026
  • disclosed1 May 2026

Introduced: 1 May 2026

CVE-2026-42482  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable hashcat.

NVD Description

Note: Versions mentioned in the description apply only to the upstream hashcat package and not the hashcat package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1