CVE-2022-27816 json
Data Loss/Denial of Service in SWHKD
published 2022-03-30 4 y ago modified 2026-06-17 4 mo ago also GHSA-8m49-2xj8-67v9 , EUVD-2022-1381
- cvss
- 7.1
- 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 43%
- public exploits
- 0
- none known
Summary
SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service.
Patch / fix
- crates.io Simple-Wayland-HotKey-Daemon 1.2.0
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% 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.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 3.3 | AV:L/AC:M/Au:N/C:N/I:P/A:P |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/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
References
-
github.com
/waycrate/swhkd/commit/0b620a09605afb815c6d8d8953bbb7a10a8c0575
web, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2022/04/14/1
mailing-list, web, exploit, patch, third-party-advisory
-
github.com
/waycrate/swhkd/releases
release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-27816
advisory
-
github.com
/waycrate/swhkd
package
-
github.com
/waycrate/swhkd/releases/tag/1.2.0
web
Sources
- CVE List CVE-2022-27816
- GitHub Advisory GHSA-8m49-2xj8-67v9
- NVD CVE-2022-27816
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.