CVE-2024-38396
published critical CVSS 3.1 · 9.8iterm2 vulnerability
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| gnachman | iterm2 | 3.5.0 to < 3.5.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4- [oss-security] 20240617 Re: iTerm2 3.5.x title reporting bug http://www.openwall.com/lists/oss-security/2024/06/17/1
- https://gitlab.com/gnachman/iterm2/-/commit/fc60236a914d63fb70a5c632e211203a4f1bd4dd
- https://iterm2.com/downloads.html
- https://vin01.github.io/piptagole/escape-sequences/iterm2/rce/2024/06/16/iterm2-rce-window-title-tmux-integration.html
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6307ae04a7a36b43bdce7745c53ba496e188265922912f7494e2c2d88f6aa4ea
- Ingested
- 23 Sep 2026, 08:24:48 UTC
- Source record
- Official CVE record