Technical impact
Info-ZIP Zip 3.0 and early 3.1 releases let an attacker execute arbitrary shell commands if they control the command line and supply a filename containing shell metacharacters to the -T option. The vulnerability arises because the C library function used to process the filename executes the string as part of the system call, giving the attacker the ability to run any command permitted to the user executing zip. This is a classic OS command injection flaw (CWE‑78) that can lead to remote code execution when zip is run with elevated privileges or local compromise otherwise.
Affected Systems
The affected product is the Info‑ZIP Zip utility, version 3.0 and 3.1 beta through 3.1c. Users on Linux or other platforms that execute a shell when running the zip binary are susceptible. The vulnerability is only triggered when the -T option is used with a filename that contains characters such as ; | & or *.
Risk and Exploitability
The CVSS score of 2.9 signals low overall severity, primarily because the exploit requires an attacker to control the command line and supply a malicious filename—a scenario that is not common in typical use. The EPSS score is not available and the vulnerability is not listed in CISA KEV, indicating limited exploitation data. However, if zip -T is invoked in an environment where untrusted filenames could be introduced, the flaw could be leveraged to run arbitrary commands; the likelihood remains low but should be mitigated if the scenario matches.