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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | hashcat | No fix yet | — |
| Debian 13 | hashcat | No fix yet | — |
| Debian 12 | hashcat | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | hashcat | No fix yet | — |
| Ubuntu 26.04 LTS | hashcat | No fix yet | — |
| Ubuntu 25.10 | hashcat | No fix yet | — |
| Ubuntu 24.04 LTS | hashcat | No fix yet | — |
| Ubuntu 22.04 LTS | hashcat | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | hashcat | No fix yet | — |
| Ubuntu 18.04 LTS | hashcat | No fix yet | — |