Home / Iterm2 / Iterm2 / CVE-2024-38395
CVE-2024-38395: is it exploited, and which versions of Iterm2 are affected and fixed?
CVE-2024-38395 is a code injection (remote code execution) vulnerability in Iterm2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: iterm2 from 3.5.0 before 3.5.2 (NVD). Fixed in 3.5.2 (NVD). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-38395?
In iTerm2 before 3.5.2, the "Terminal may report window title" setting is not honored, and thus remote code execution might occur but "is not trivially exploitable."
From the CVE record by mitre, last updated August 2, 2024, 04:12 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| iterm2 | iterm2 | from 3.5.0 before 3.5.2 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:40 UTC.
How severe is CVE-2024-38395?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-38395 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, June 18, 2024)
- EPSS
- 1.48% probability of exploitation activity in the next 30 days, percentile 74.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://iterm2.com/downloads.html
- https://gitlab.com/gnachman/iterm2/-/commit/f1e89f78dd72dcac3ba66d3d6f93db3f7f649219
- https://www.openwall.com/lists/oss-security/2024/06/15/1
- https://gitlab.com/gnachman/iterm2/-/tags/v3.5.2
- [oss-security] 20240617 Re: iTerm2 3.5.x title reporting bug mailing-list
When was it published, and where is the official record?
- Reserved
- June 16, 2024
- Published
- June 16, 2024, 00:00 UTC
- CVE record updated
- August 2, 2024, 04:12 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 07:40 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Iterm2?
- Nov 5, 2026CVE-2026-123014 iTerm2: argument injection
- Apr 18, 2026CVE-2026-41253 iTerm2: inclusion of code from an untrusted source
- Jan 3, 2025CVE-2025-22275 iTerm2: sensitive information written to log files
- Jun 16, 2024CVE-2024-38396 Iterm2: code injection (remote code execution)
- Oct 22, 2023CVE-2023-46322 Iterm2: log injection
- Oct 22, 2023CVE-2023-46321 Iterm2: log injection
- Oct 22, 2023CVE-2023-46301 Iterm2: improper output encoding
- Oct 22, 2023CVE-2023-46300 Iterm2: improper output encoding
Questions about CVE-2024-38395
Is CVE-2024-38395 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 1.48% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Iterm2 are affected by CVE-2024-38395?
iterm2 from 3.5.0 before 3.5.2, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2024-38395?
3.5.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-38395?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-38395?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.