CVE-2026-42482: n/a
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.
AI Analysis
Technical Summary
This vulnerability in hashcat v7.1.2 involves a stack-based buffer overflow in the mangle_to_hex_lower() and mangle_to_hex_upper() functions located in src/rp_cpu.c. The root cause is a bounds check that fails to account for the 2x expansion when converting password bytes to hexadecimal representation. Exploitation requires crafted input via rule files or specific command-line options (-j or -k) with long password candidates (128+ characters). The overflow can lead to denial of service or possibly arbitrary code execution. No CVSS score or vendor advisory is available, and no patch status is confirmed.
Potential Impact
Successful exploitation can cause a denial of service by crashing the application or potentially allow execution of arbitrary code, which could lead to compromise of the host running hashcat. The impact depends on attacker ability to supply crafted rule files or command-line inputs with long password candidates. There are no reports of active exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted rule files or the -j and -k options with password candidates of 128 or more characters to reduce risk of triggering the vulnerability.
CVE-2026-42482: n/a
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.
CVSS v3.1
Score 7.5high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in hashcat v7.1.2 involves a stack-based buffer overflow in the mangle_to_hex_lower() and mangle_to_hex_upper() functions located in src/rp_cpu.c. The root cause is a bounds check that fails to account for the 2x expansion when converting password bytes to hexadecimal representation. Exploitation requires crafted input via rule files or specific command-line options (-j or -k) with long password candidates (128+ characters). The overflow can lead to denial of service or possibly arbitrary code execution. No CVSS score or vendor advisory is available, and no patch status is confirmed.
Potential Impact
Successful exploitation can cause a denial of service by crashing the application or potentially allow execution of arbitrary code, which could lead to compromise of the host running hashcat. The impact depends on attacker ability to supply crafted rule files or command-line inputs with long password candidates. There are no reports of active exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted rule files or the -j and -k options with password candidates of 128 or more characters to reduce risk of triggering the vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-27T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f4b73ecbff5d8610ec5982
Added to database: 5/1/2026, 2:22:54 PM
Last enriched: 5/1/2026, 2:36:39 PM
Last updated: 6/15/2026, 8:57:23 AM
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.