Skip to content
Fencer Vulns
high 7.8

CVE-2022-27815 json

Insecure Temporary File in SWHKD

published 2022-03-29 4 y ago modified 2026-06-17 4 mo ago also GHSA-p4jg-pccf-h82c , EUVD-2022-1487

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 44%
public exploits
0
none known

Summary

SWHKD 1.1.5 unsafely uses the /tmp/swhkd.pid pathname. There can be an information leak or denial of service.

Patch / fix

  • crates.io Simple-Wayland-HotKey-Daemon 1.2.0

Exploit prediction

0.51% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • openwall.com http://www.openwall.com/lists/oss-security/2022/04/14/1 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.2 AV:L/AC:H/Au:N/C:C/I:C/A:C
GitHub 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected packages

ecosystem package affected fixed in
crates.io Simple-Wayland-HotKey-Daemon
<1.2.0
1.2.0

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access
  • CWE-377 DEPRECATED: Insecure Temporary File

References

Sources

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.