RCE in Iterm2

CVE-2024-38396

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.017 (74.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-38396?
CVE-2024-38396 is a critical-severity vulnerability in Iterm2, classified under Code Injection. CVSS score: 9.8/10. Published 2024-06-16.
How severe is CVE-2024-38396?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2024-38396 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.