CVE-2026-42482

NameCVE-2026-42482
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
hashcat (PTS)bullseye6.1.1+ds1-1vulnerable
bookworm6.2.6+ds1-1vulnerable
trixie6.2.6+ds2-1vulnerable
forky, sid7.1.2+ds1-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
hashcatsource(unstable)(unfixed)

Notes

https://gist.github.com/sgInnora/107f2eb20367e47d58c911e38d56a91f
check upstream details

Search for package or bug name: Reporting problems