CVE-2026-42484
Received Received - Intake
Heap-based Buffer Overflow in hashcat PKZIP Hash Parser

Publication date: 2026-05-01

Last updated on: 2026-05-01

Assigner: MITRE

Description
A heap-based buffer overflow in hex_to_binary in the PKZIP hash parser in hashcat v7.1.2 allows an attacker to cause a denial of service or possibly execute arbitrary code via a crafted PKZIP hash file. The issue affects modules 17200, 17210, 17220, 17225, and 17230. When data_type_enum<=1, attacker-controlled hex data from a user-supplied hash string is decoded into a fixed-size buffer without proper input-length validation.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-01
Last Modified
2026-05-01
Generated
2026-05-07
AI Q&A
2026-05-01
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
hashcat hashcat 7.1.2
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a heap-based buffer overflow in the hex_to_binary function of the PKZIP hash parser in hashcat version 7.1.2. It occurs because attacker-controlled hexadecimal data from a user-supplied hash string is decoded into a fixed-size buffer without proper validation of the input length. This flaw affects several modules (17200, 17210, 17220, 17225, and 17230) when the data_type_enum is less than or equal to 1.


How can this vulnerability impact me? :

An attacker exploiting this vulnerability can cause a denial of service by crashing the application or potentially execute arbitrary code on the affected system. This could lead to unauthorized control over the system running hashcat or disrupt its normal operation.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by identifying the presence of hashcat version 7.1.2 running on your system, especially if it is processing PKZIP hash files with modules 17200, 17210, 17220, 17225, or 17230.

To detect attempts to exploit this vulnerability, monitor for crashes or abnormal behavior in hashcat when processing PKZIP hashes, particularly those with crafted or unusually large hex data fields.

While no specific detection commands are provided, you can check the hashcat version with the command:

  • hashcat --version

Additionally, monitoring logs or running hashcat in a debug mode (if available) to observe crashes or memory errors when processing PKZIP hashes may help detect exploitation attempts.


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include:

  • Avoid using hashcat version 7.1.2 for processing PKZIP hashes with the affected modules (17200, 17210, 17220, 17225, 17230) until a patch or fix is applied.
  • If possible, upgrade to a later version of hashcat where this heap-based buffer overflow vulnerability has been fixed.
  • Restrict or monitor inputs to hashcat to prevent processing of crafted PKZIP hash files with oversized hex data fields.
  • Implement system-level protections such as running hashcat with limited privileges and using memory protection mechanisms to reduce the impact of potential exploitation.

Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart