# CVE-2024-38396: An issue was discovered in iTerm2 3.5.x before 3.5.2.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.68%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-16T00:00:00.000Z
- Modified: 2026-06-17T07:40:03.780Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnachman iterm2: from 3.5.0 before 3.5.2
- iterm2 iterm2: from 3.5.0 before 3.5.2

## References

- <https://vin01.github.io/piptagole/escape-sequences/iterm2/rce/2024/06/16/iterm2-rce-window-title-tmux-integration.html> (exploit)
- <https://iterm2.com/downloads.html> (product)
- <https://gitlab.com/gnachman/iterm2/-/commit/fc60236a914d63fb70a5c632e211203a4f1bd4dd> (patch)
- <http://www.openwall.com/lists/oss-security/2024/06/17/1> (mailing-list)

## Sources

- CVE List: [CVE-2024-38396](https://www.cve.org/CVERecord?id=CVE-2024-38396), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-38396](https://nvd.nist.gov/vuln/detail/CVE-2024-38396), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38396 · Whole record: https://cve.day/CVE-2024-38396.json · Rebuilt by cve.day 2026-11-25T22:58:41.938Z
