CVE-2022-27818
CRITICAL 9.1CVSS 3.1Insecure temporary file usage in SWHKD
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
- Published
- 7 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-668
- Also known as
- GHSA-r3r5-jhw6-4634
- Sources
- NVDJSONOSV GHSA-r3r5-jhw6-4634JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | waycrate | swhkdcpe:2.3:a:waycrate:swhkd:1.1.5:*:*:*:*:*:*:* |
= 1.1.5 | |
| OSV | crates.io | Simple-Wayland-HotKey-Daemon | < 1.2.0 | 1.2.0 |
References
- http://www.openwall.com/lists/oss-security/2022/04/14/1 · Patch, Third Party Advisory, WEB
- https://github.com/waycrate/swhkd/commit/f70b99dd575fab79d8a942111a6980431f006818 · Patch, Third Party Advisory, WEB
- https://github.com/waycrate/swhkd/releases · Release Notes
- https://nvd.nist.gov/vuln/detail/CVE-2022-27818 · ADVISORY
- https://github.com/waycrate/swhkd · PACKAGE
- https://github.com/waycrate/swhkd/releases/tag/1.2.0 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 7 Apr 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Apr 2022)