Vulnerabilities · 2024 · Iterm2
CVE-2024-38396
Iterm2 vulnerability
An issue was discovered in iTerm2 3.5.x before 3.5.2. Unfiltered use of an escape sequence to report a window title, in combination with the built-in tmux integration feature (enabled by default), allows an attacker to inject arbitrary code into the terminal, a different vulnerability than CVE-2024-38395.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Iterm2. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Iterm2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gitlab.com/gnachman/iterm2/-/commit/fc60236a914d63fb70a5c632e211203a4f1bd4dd · Patch
- vin01.github.io/piptagole/escape-sequences/iterm2/rce/2024/06/16/iterm2-rce-window-title-t · Exploit
- www.openwall.com/lists/oss-security/2024/06/17/1
- iterm2.com/downloads.html
- nvd.nist.gov/vuln/detail/CVE-2024-38396
- cve.org/CVERecord?id=CVE-2024-38396
More vulnerabilities in Iterm2 products
CVE-2025-22275CVE-2024-38395CVE-2023-46322CVE-2023-46321CVE-2023-46301CVE-2023-46300CVE-2022-45872CVE-2019-19022All 11
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.