CVE-2019-9535
iTerm2, up to and including version 3.3.5, with tmux integration is vulnerable to remote command execution
Check your servers for CVE-2019-9535
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-9535 affects iterm2, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
A vulnerability exists in the way that iTerm2 integrates with tmux's control mode, which may allow an attacker to execute arbitrary commands by providing malicious output to the terminal. This affects versions of iTerm2 up to and including 3.3.5. This vulnerability may allow an attacker to execute arbitrary commands on their victim's computer by providing malicious output to the terminal. It could be exploited using command-line utilities that print attacker-controlled content.
Exploitation
EPSS 2.48%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 85.3% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of iterm2 and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i iterm2
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-9535 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-9535RHEL, Rocky, Alma, Fedora
rpm -q iterm2
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-9535Alpine
apk list --installed | grep -i iterm2With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-9535
trivy image --scanners vuln IMAGE | grep CVE-2019-9535
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- VU#763073 kb.cert.org · third party advisory
- https://groups.google.com/forum/#%21topic/iterm2-discuss/57k_AuLdQa4 groups.google.com
Other references
Source: the record CVE-2019-9535 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse