CVE-2024-38396: Code Injection

Published Jun 16, 2024
·
Updated

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.

Affected Software

2 affected components
iTerm2 iTerm2<3.5.2
iTerm2 iTerm2>=3.5.0<3.5.2

Event History

Jun 16, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38396?

CVE-2024-38396 has been rated with a high severity due to its potential to allow arbitrary code execution.

2

How do I fix CVE-2024-38396?

To mitigate CVE-2024-38396, update iTerm2 to version 3.5.2 or later, which addresses the vulnerability.

3

What vulnerabilities are related to CVE-2024-38396?

CVE-2024-38396 is distinct but can be related to other vulnerabilities involving escape sequences and code injection.

4

Which versions of iTerm2 are affected by CVE-2024-38396?

iTerm2 versions prior to 3.5.2 are affected by CVE-2024-38396.

5

Can CVE-2024-38396 be exploited remotely?

Yes, CVE-2024-38396 can be exploited remotely if a user interacts with a malicious escape sequence in the terminal.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203