
CVE catalog
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
- Severity
- Critical · CVSS 9.8
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | hashcat | sid | 7.1.2+ds1-4 | vulnerable |
| Debian | hashcat | forky | 7.1.2+ds1-4 | vulnerable |
| Debian | hashcat | trixie | 6.2.6+ds2-1 | vulnerable |
| Debian | hashcat | bookworm | 6.2.6+ds1-1 | vulnerable |
| Cpe | hashcat | Not reported | Not reported | vulnerable |
| Cpe | hashcat | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | hashcat | source | sid | (unfixed) | not yet assigned | Not reported | [1136004] |
| Debian | hashcat | source | forky | (unfixed) | not yet assigned | Not reported | [1136004] |
| Debian | hashcat | source | trixie | (unfixed) | not yet assigned | Not reported | [1136004] |
| Debian | hashcat | source | bookworm | (unfixed) | not yet assigned | Not reported | [1136004] |
Notes
[trixie] hashcat: Minor issue [bookworm] hashcat: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [hashcat]Affected
Source package: [hashcat]
Details (2)
6.2.6+ds1-1+b1· amd64 · bookwormAffected
nvd · hashcat · debian · bookworm; nvd · hashcat · debian · 12
6.2.6+ds1-1+b1· arm64 · bookwormAffected
nvd · hashcat · debian · bookworm; nvd · hashcat · debian · 12
- [hashcat-data]Affected
Source package: [hashcat]
Details (2)
6.2.6+ds1-1· all · bookwormAffected
nvd · hashcat · debian · bookworm; nvd · hashcat · debian · 12
6.2.6+ds1-1· all · bookwormAffected
nvd · hashcat · debian · bookworm; nvd · hashcat · debian · 12
[Debian 13 (Trixie)]
- [hashcat]Affected
Source package: [hashcat]
Details (2)
6.2.6+ds2-1· amd64 · trixieAffected
nvd · hashcat · debian · 13
6.2.6+ds2-1+b1· arm64 · trixieAffected
nvd · hashcat · debian · 13
- [hashcat-data]Affected
Source package: [hashcat]
Details (2)
6.2.6+ds2-1· all · trixieAffected
nvd · hashcat · debian · 13
6.2.6+ds2-1· all · trixieAffected
nvd · hashcat · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-42482]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-42482]
- [https://security-tracker.debian.org/tracker/CVE-2026-42482]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42482.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]