# CVE-2022-23465: SwiftTerm vulnerable to arbitrary command execution

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2022-12-02T22:53:45.174Z
- Modified: 2026-06-17T04:30:10.733Z
- Also known as: GHSA-jq43-q8mx-r7mq
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- migueldeicaza SwiftTerm: < a94e6b24d24ce9680ad79884992e1dff8e150a31
- github.com/migueldeicaza/SwiftTerm (SwiftURL): before 1.2.0
- swiftterm_project swiftterm: before 2022-12-02

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/migueldeicaza/SwiftTerm/security/advisories/GHSA-jq43-q8mx-r7mq> (third-party-advisory, web)
- <https://github.com/migueldeicaza/SwiftTerm/commit/a94e6b24d24ce9680ad79884992e1dff8e150a31> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23465> (advisory)
- <https://github.com/migueldeicaza/SwiftTerm> (package)

## Sources

- CVE List: [CVE-2022-23465](https://www.cve.org/CVERecord?id=CVE-2022-23465), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-jq43-q8mx-r7mq](https://github.com/advisories/GHSA-jq43-q8mx-r7mq), CC-BY-4.0, modified 2024-02-09
- NVD: [CVE-2022-23465](https://nvd.nist.gov/vuln/detail/CVE-2022-23465), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23465 · Whole record: https://cve.day/CVE-2022-23465.json · Rebuilt by cve.day 2026-11-25T22:58:17.195Z
