# CVE-2026-42482: A stack-based buffer overflow in mangletohexlower() and mangletohexupper() in src/rpcpu.c in hashcat v7.1.2 allows an attacker to cause a d…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-01T00:00:00.000Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- hashcat hashcat: 7.1.2

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gist.github.com/sgInnora/107f2eb20367e47d58c911e38d56a91f> (exploit, mitigation, third-party-advisory)

## Sources

- CVE List: [CVE-2026-42482](https://www.cve.org/CVERecord?id=CVE-2026-42482), CVE Terms of Use, modified 2026-05-01
- NVD: [CVE-2026-42482](https://nvd.nist.gov/vuln/detail/CVE-2026-42482), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42482 · Whole record: https://cve.day/CVE-2026-42482.json · Rebuilt by cve.day 2026-11-25T22:59:20.348Z
