SecurityContext

CVE-2019-9535: iTerm2 - Command Injection

  • Cve: CVE-2019-9535
  • Name: iTerm2 - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary commands on the victim's system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of iTerm2 that addresses this issue, or apply security patches provided by the vendor.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to provide malicious output to the terminal
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02459
  • Epss percentile: 0.84849
  • Assignee: [email protected]
  • Published at: 2019-10-09T20:15:33Z
  • Age in days: 2603
  • Modified at: 2026-06-17T02:43:54Z
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-9535
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-349Acceptance of Extraneous Untrusted Data With Trusted Data
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component

Public exploits

UrlSourceAdded date
https://blog.mozilla.org/security/2019/10/09/iterm2-critical-issue-moss-audit/nvd2019-10-09

References

Same in every row:

  • Source: nvd
UrlTags
https://blog.mozilla.org/security/2019/10/09/iterm2-critical-issue-moss-audit/Exploit, Third Party Advisory
https://kb.cert.org/vuls/id/763073/Third Party Advisory, US Government Resource
https://groups.google.com/forum/#%21topic/iterm2-discuss/57k_AuLdQa4

Products

ProductAffectedPlatform boundSourcesUrl
iterm2:iterm2<= 3.3.5nonvd/v1/products/iterm2/iterm2

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2019-10-09
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts