CVE-2022-27818 json
Insecure temporary file usage in SWHKD
published 2022-04-07 4 y ago modified 2026-06-17 4 mo ago also GHSA-r3r5-jhw6-4634 , EUVD-2022-1822
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
Patch / fix
- crates.io Simple-Wayland-HotKey-Daemon 1.2.0
Exploit prediction
1.81% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
| 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-668 Exposure of Resource to Wrong Sphere
References
-
github.com
/waycrate/swhkd/commit/f70b99dd575fab79d8a942111a6980431f006818
web, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2022/04/14/1
mailing-list, web, patch, third-party-advisory
-
github.com
/waycrate/swhkd/releases
release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2022-27818
advisory
-
github.com
/waycrate/swhkd
package
-
github.com
/waycrate/swhkd/releases/tag/1.2.0
web
Sources
- CVE List CVE-2022-27818
- GitHub Advisory GHSA-r3r5-jhw6-4634
- NVD CVE-2022-27818
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.