Vulnerabilities / CVE-2026-42482

critical

CVE-2026-42482

A stack-based buffer overflow in mangle_to_hex_lower() and mangle_to_h ...

Published Modified CWE 787, 121
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD.

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11hashcatno fix listed
debian 12hashcatno fix listed
debian 13hashcatno fix listed
debian 14hashcatno fix listed
echohashcatno fix listed
rapidfort debian 12hashcatno fix listed
rapidfort debian 13hashcatno fix listed
rapidfort ubuntu 20.04hashcatno fix listed
rapidfort ubuntu 22.04hashcatno fix listed
rapidfort ubuntu 24.04hashcatno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.