Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-38396
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:29 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-38396
Complete source record
{
"id": "03bef406b9750157d3e8065d9fe84e9078701ae22b3e7bccec5e846d03972a60",
"url": "https://osv.dev/vulnerability/CVE-2024-38396",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-38396",
"summary": "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.",
"evidence": "osv:CVE-2024-38396",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-38396",
"aliases": [
"CVE-2024-38396"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gnachman/iterm2",
"type": "GIT",
"events": [
{
"introduced": "7ff0a05755330fcf4f617c8e4464c81f2391995d"
},
{
"fixed": "978671323e157eee060880c9a17d2fcea437b724"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:iterm2:iterm2:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.5.0"
},
{
"fixed": "3.5.2"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://gitlab.com/gnachman/iterm2",
"type": "GIT",
"events": [
{
"introduced": "7ff0a05755330fcf4f617c8e4464c81f2391995d"
},
{
"fixed": "978671323e157eee060880c9a17d2fcea437b724"
},
{
"fixed": "fc60236a914d63fb70a5c632e211203a4f1bd4dd"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "3.5.x"
},
{
"fixed": "3.5.2"
}
],
"source": "DESCRIPTION"
},
{
"range": [
{
"fixed": "fc60236a914d63fb70a5c632e211203a4f1bd4dd"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38396.json"
}
}
],
"modified": "2026-10-28T02:30:49.708762490Z",
"provider": "osv",
"references": [
"https://iterm2.com/downloads.html",
"https://vin01.github.io/piptagole/escape-sequences/iterm2/rce/2024/06/16/iterm2-rce-window-title-tmux-integration.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38396.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-38396",
"https://gitlab.com/gnachman/iterm2/-/commit/fc60236a914d63fb70a5c632e211203a4f1bd4dd"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38396.json"
}
},
"related_cves": [
{
"value": "CVE-2024-38396",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518139,
"published_at": "2024-06-16T00:00:00+00:00"
}