{"id":"CVE-2022-23465","aliases":["GHSA-jq43-q8mx-r7mq"],"url":"https://o3.security/vulnerability/CVE-2022-23465","summary":"SwiftTerm vulnerable to arbitrary command execution","details":"### Impact\n\nAttacker 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.\n\n### Credit\nThese bugs were found and disclosed by David Leadbeater <dgl@dgl.cx> (@dgl at Github.com)\n\n### Patches\n\nFixed in version ce596e0dc8cdb288bc7ed5c6a59011ee3a8dc171\n\n### Workarounds\n\nThere are no workarounds available\n\n### References\n\nSimilar exploits to this existed in the past, for terminal emulators:\n\nhttps://nvd.nist.gov/vuln/detail/CVE-2003-0063\nhttps://nvd.nist.gov/vuln/detail/CVE-2008-2383\n\nAdditional background and information is also available:\n\nhttps://marc.info/?l=bugtraq&m=104612710031920&w=2\nhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510030\n","published":"2022-12-02T22:53:45.174Z","modified":"2026-08-12T03:51:13.223964681Z","cvss":{"score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"},"epss":{"score":0.0043,"percentile":0.35344,"asOf":"2026-07-31"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"SwiftURL","name":"github.com/migueldeicaza/SwiftTerm","fixedVersion":"1.2.0"}],"fix":{"url":"https://github.com/migueldeicaza/SwiftTerm/commit/a94e6b24d24ce9680ad79884992e1dff8e150a31","label":"migueldeicaza/SwiftTerm@a94e6b2"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23465.json"},{"type":"ADVISORY","url":"https://github.com/migueldeicaza/SwiftTerm/security/advisories/GHSA-jq43-q8mx-r7mq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23465"},{"type":"FIX","url":"https://github.com/migueldeicaza/SwiftTerm/commit/a94e6b24d24ce9680ad79884992e1dff8e150a31"},{"type":"PACKAGE","url":"https://github.com/migueldeicaza/SwiftTerm"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:13.223964681Z"}}