CVE-2026-42484
A heap-based buffer overflow in hex_to_binary in the PKZIP hash parser ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | hashcat | no fix listed |
| debian 12 | hashcat | no fix listed |
| debian 13 | hashcat | no fix listed |
| debian 14 | hashcat | no fix listed |
| echo | hashcat | no fix listed |
| rapidfort debian 12 | hashcat | no fix listed |
| rapidfort debian 13 | hashcat | no fix listed |
| rapidfort ubuntu 20.04 | hashcat | no fix listed |
| rapidfort ubuntu 22.04 | hashcat | no fix listed |
| rapidfort ubuntu 24.04 | hashcat | no fix listed |