{"id":"CVE-2026-42482","details":"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.","modified":"2026-07-15T01:49:12.149859712Z","published":"2026-05-01T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42482.json"},"references":[{"type":"WEB","url":"https://gist.github.com/sgInnora/107f2eb20367e47d58c911e38d56a91f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42482.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42482"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hashcat/hashcat","events":[{"introduced":"c75f446c44cd3f0742035a1394416c39bee5ea8f"},{"last_affected":"c75f446c44cd3f0742035a1394416c39bee5ea8f"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:hashcat:hashcat:7.1.2:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.1.2"},{"last_affected":"7.1.2"}]}}],"versions":["7.1.2","v7.1.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42482.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}