{"id":"CVE-2022-27816","aliases":["EUVD-2022-1381","GHSA-8m49-2xj8-67v9"],"status":"published","title":"Data Loss/Denial of Service in SWHKD","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.005,"percentile":0.43354,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2022-03-30T01:47:18Z","modified":"2026-10-28T02:30:33Z","fixes":[{"ecosystem":"crates.io","package":"Simple-Wayland-HotKey-Daemon","fixed_in":["1.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"Simple-Wayland-HotKey-Daemon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"Simple-Wayland-HotKey-Daemon","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]}],"products":[{"vendor":"waycrate","product":"swhkd"}],"references":[{"url":"https://github.com/waycrate/swhkd/releases","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","package"]},{"url":"https://github.com/waycrate/swhkd/commit/0b620a09605afb815c6d8d8953bbb7a10a8c0575","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/04/14/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","Mailing List","Patch","Third Party Advisory","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27816","tags":["advisory"]},{"url":"https://github.com/waycrate/swhkd/releases/tag/1.2.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8m49-2xj8-67v9"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27816.json","tags":["advisory"]},{"url":"https://github.com/waycrate/swhkd","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-27816","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service.","status":"published","published":"2022-03-30T01:47:18Z","modified":"2024-08-03T05:33:00.352Z","updated_at":"2026-11-02T14:34:34.250357Z"}],"euvd":[{"id":"EUVD-2022-1381","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service.","status":"published","published":"2022-03-30T01:47:18Z","modified":"2024-08-03T05:33:00Z","updated_at":"2026-11-03T03:25:42.489853Z"}],"ghsa":[{"id":"GHSA-8m49-2xj8-67v9","title":"Data Loss/Denial of Service in SWHKD","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service. A patch is available on the `1.1.0` branch of the repository.","status":"published","published":"2022-03-31T00:00:24Z","modified":"2023-01-27T05:01:16Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:36:16.28305Z"}],"nvd":[{"id":"CVE-2022-27816","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service.","status":"published","published":"2022-03-30T02:15:09.017Z","modified":"2026-06-17T04:37:34.023Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":3.3,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:07:14.706146Z"}],"osv":[{"id":"GHSA-8m49-2xj8-67v9","title":"Data Loss/Denial of Service in SWHKD","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service. A patch is available on the `1.1.0` branch of the repository.","status":"published","published":"2022-03-31T00:00:24Z","modified":"2023-11-08T04:09:00.749864Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T15:46:42.437513Z"},{"id":"CVE-2022-27816","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service.","status":"published","published":"2022-03-30T01:47:18Z","modified":"2026-10-28T02:30:33.708161383Z","updated_at":"2026-11-02T15:44:24.758293Z"}]}}
