CVE-2022-23465 json
SwiftTerm vulnerable to arbitrary command execution
published 2022-12-02 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-2091 , GHSA-jq43-q8mx-r7mq
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
SwiftTerm is a Xterm/VT100 Terminal emulator. Prior to commit a94e6b24d24ce9680ad79884992e1dff8e150a31, an attacker could modify the window title via a certain character escape sequence and then insert it back to the command line in the user's terminal, e.g. when the user views a file containing the malicious sequence, which could allow the attacker to execute arbitrary commands. Version a94e6b24d24ce9680ad79884992e1dff8e150a31 contains a patch for this issue. There are no known workarounds available.
Patch / fix
- swift github.com/migueldeicaza/SwiftTerm 1.2.0
- swiftterm_project swiftterm 2022-12-02
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| swift | github.com/migueldeicaza/SwiftTerm | <1.2.0 |
1.2.0 |
Affected products
- migueldeicaza SwiftTerm
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/migueldeicaza/SwiftTerm/commit/a94e6b24d24ce9680ad79884992e1dff8e150a31
web, patch, third-party-advisory
-
github.com
/migueldeicaza/SwiftTerm/security/advisories/GHSA-jq43-q8mx-r7mq
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23465
advisory
-
github.com
/migueldeicaza/SwiftTerm
package
Sources
- CVE List CVE-2022-23465
- GitHub Advisory GHSA-jq43-q8mx-r7mq
- NVD CVE-2022-23465
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.