{"id":"UBUNTU-CVE-2022-23853","details":"The LSP (Language Server Protocol) plugin in KDE Kate before 21.12.2 and KTextEditor before 5.91.0 tries to execute the associated LSP server binary when opening a file of a given type. If this binary is absent from the PATH, it will try running the LSP server binary in the directory of the file that was just opened (due to a misunderstanding of the QProcess API, that was never intended). This can be an untrusted directory.","modified":"2026-05-20T16:07:49.715231999Z","published":"2022-02-11T18:15:00Z","upstream":["CVE-2022-23853"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-23853"},{"type":"REPORT","url":"https://kde.org/info/security/advisory-20220131-1.txt"},{"type":"REPORT","url":"https://commits.kde.org/kate/361dd43e42994829dbdb35e78fb7698d27cbb0e2"},{"type":"REPORT","url":"https://commits.kde.org/kate/6fc3bf6e5bd540e842e32c4a959c2158c8573be5"},{"type":"REPORT","url":"https://commits.kde.org/kate/92a9c65e30b4b63b8b116eb5c8dcb1e1a2d867bc"},{"type":"REPORT","url":"https://apps.kde.org/kate/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-23853"}],"affected":[{"package":{"name":"kate","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/kate?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:15.08.2-0ubuntu1","4:15.08.2-0ubuntu2","4:15.12.1-0ubuntu1","4:15.12.3-0ubuntu1","4:15.12.3-0ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"4:15.12.3-0ubuntu2","binary_name":"kate"},{"binary_name":"kate5-data","binary_version":"4:15.12.3-0ubuntu2"},{"binary_name":"kwrite","binary_version":"4:15.12.3-0ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"ktexteditor","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ktexteditor?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.15.0-0ubuntu1","5.15.0-0ubuntu2","5.15.0-0ubuntu3","5.18.0-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ktexteditor-data","binary_version":"5.18.0-0ubuntu1"},{"binary_name":"ktexteditor-katepart","binary_version":"5.18.0-0ubuntu1"},{"binary_name":"libkf5texteditor5","binary_version":"5.18.0-0ubuntu1"},{"binary_version":"5.18.0-0ubuntu1","binary_name":"libkf5texteditor5-libjs-underscore"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"kate","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/kate?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:17.04.3-0ubuntu1","4:17.04.3-0ubuntu2","4:17.08.3-0ubuntu1","4:17.12.2-0ubuntu1","4:17.12.3-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"4:17.12.3-0ubuntu1","binary_name":"kate"},{"binary_name":"kate5-data","binary_version":"4:17.12.3-0ubuntu1"},{"binary_version":"4:17.12.3-0ubuntu1","binary_name":"kwrite"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"ktexteditor","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ktexteditor?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.38.0-0ubuntu1","5.38.0-0ubuntu1.1","5.38.0-0ubuntu2","5.40.0-0ubuntu1","5.41.0-0ubuntu2","5.42.0-0ubuntu1","5.43.0-0ubuntu2","5.44.0-0ubuntu1","5.44.0-0ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"ktexteditor-data","binary_version":"5.44.0-0ubuntu2"},{"binary_version":"5.44.0-0ubuntu2","binary_name":"ktexteditor-katepart"},{"binary_name":"libkf5texteditor5","binary_version":"5.44.0-0ubuntu2"},{"binary_name":"libkf5texteditor5-libjs-underscore","binary_version":"5.44.0-0ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"kate","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/kate?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:19.04.3-0ubuntu2","4:19.08.2-1ubuntu1","4:19.08.3-0ubuntu1","4:19.12.0-0ubuntu1","4:19.12.0-1ubuntu1","4:19.12.1-0ubuntu1","4:19.12.2-0ubuntu1","4:19.12.3-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"4:19.12.3-0ubuntu1","binary_name":"kate"},{"binary_name":"kate5-data","binary_version":"4:19.12.3-0ubuntu1"},{"binary_name":"kwrite","binary_version":"4:19.12.3-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"ktexteditor","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ktexteditor?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.62.0-0ubuntu1","5.62.0-0ubuntu2","5.64.0-0ubuntu1","5.65.0-0ubuntu2","5.65.0-0ubuntu3","5.66.0-0ubuntu1","5.67.0-0ubuntu1","5.68.0-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.68.0-0ubuntu1","binary_name":"ktexteditor-data"},{"binary_name":"ktexteditor-katepart","binary_version":"5.68.0-0ubuntu1"},{"binary_name":"libkf5texteditor-bin","binary_version":"5.68.0-0ubuntu1"},{"binary_name":"libkf5texteditor5","binary_version":"5.68.0-0ubuntu1"},{"binary_name":"libkf5texteditor5-libjs-underscore","binary_version":"5.68.0-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"kate","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/kate?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:21.08.1-1","4:21.08.2-1","4:21.08.3-0ubuntu1","4:21.11.80-0ubuntu1","4:21.11.90-0ubuntu1","4:21.11.90-0ubuntu2","4:21.12.0-0ubuntu1","4:21.12.1-0ubuntu1","4:21.12.2-0ubuntu1","4:21.12.3-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"4:21.12.3-0ubuntu1","binary_name":"kate"},{"binary_version":"4:21.12.3-0ubuntu1","binary_name":"kate5-data"},{"binary_name":"kwrite","binary_version":"4:21.12.3-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"ktexteditor","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ktexteditor?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.86.0-0ubuntu1","5.88.0-0ubuntu1","5.88.0-1ubuntu1","5.88.0-1ubuntu3","5.89.0-0ubuntu1","5.90.0-0ubuntu1","5.90.0-0ubuntu2","5.91.0-0ubuntu1","5.92.0-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ktexteditor-data","binary_version":"5.92.0-0ubuntu1"},{"binary_name":"ktexteditor-katepart","binary_version":"5.92.0-0ubuntu1"},{"binary_name":"libkf5texteditor-bin","binary_version":"5.92.0-0ubuntu1"},{"binary_name":"libkf5texteditor5","binary_version":"5.92.0-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"kate","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/kate?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:23.08.1-0ubuntu1","4:23.08.2-0ubuntu1","4:23.08.3-0ubuntu1","4:23.08.4-0ubuntu1","4:23.08.5-0ubuntu1","4:23.08.5-0ubuntu2","4:23.08.5-0ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_version":"4:23.08.5-0ubuntu3","binary_name":"kate"},{"binary_version":"4:23.08.5-0ubuntu3","binary_name":"kate5-data"},{"binary_name":"kwrite","binary_version":"4:23.08.5-0ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"ktexteditor","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ktexteditor?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.110.0-0ubuntu1","5.112.0-0ubuntu1","5.113.0-0ubuntu1","5.115.0-0ubuntu2","5.115.0-0ubuntu3","5.115.0-0ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"ktexteditor-data","binary_version":"5.115.0-0ubuntu4"},{"binary_name":"ktexteditor-katepart","binary_version":"5.115.0-0ubuntu4"},{"binary_name":"libkf5texteditor-bin","binary_version":"5.115.0-0ubuntu4"},{"binary_name":"libkf5texteditor5","binary_version":"5.115.0-0ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"kate","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/kate?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:24.12.3-2ubuntu2","4:25.04.0-0ubuntu1","4:25.04.1-0ubuntu1","4:25.04.2-0ubuntu1","4:25.04.2-1ubuntu1","4:25.04.3-0ubuntu1","4:25.04.3-1ubuntu1","4:25.07.80-0ubuntu1","4:25.07.90-0ubuntu1","4:25.08.0-0ubuntu1","4:25.08.1-0ubuntu1","4:25.08.1-0ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"4:25.08.1-0ubuntu2","binary_name":"kate"},{"binary_name":"kate-data","binary_version":"4:25.08.1-0ubuntu2"},{"binary_name":"kwrite","binary_version":"4:25.08.1-0ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"ktexteditor","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ktexteditor?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.116.0-0ubuntu1","5.116.0-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ktexteditor-data","binary_version":"5.116.0-1ubuntu1"},{"binary_version":"5.116.0-1ubuntu1","binary_name":"ktexteditor-katepart"},{"binary_version":"5.116.0-1ubuntu1","binary_name":"libkf5texteditor-bin"},{"binary_version":"5.116.0-1ubuntu1","binary_name":"libkf5texteditor5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"kate","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/kate?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:25.08.1-0ubuntu2","4:25.08.2-0ubuntu1","4:25.08.3-0ubuntu1","4:25.11.80-0ubuntu1","4:25.11.90-0ubuntu1","4:25.12.0-0ubuntu1","4:25.12.1-0ubuntu1","4:25.12.1-1ubuntu1","4:25.12.2-0ubuntu1","4:25.12.2-0ubuntu2","4:25.12.3-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"4:25.12.3-0ubuntu1","binary_name":"kate"},{"binary_version":"4:25.12.3-0ubuntu1","binary_name":"kate-data"},{"binary_name":"kwrite","binary_version":"4:25.12.3-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}},{"package":{"name":"ktexteditor","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ktexteditor?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.116.0-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ktexteditor-data","binary_version":"5.116.0-1ubuntu1"},{"binary_name":"ktexteditor-katepart","binary_version":"5.116.0-1ubuntu1"},{"binary_version":"5.116.0-1ubuntu1","binary_name":"libkf5texteditor-bin"},{"binary_version":"5.116.0-1ubuntu1","binary_name":"libkf5texteditor5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23853.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}