CVE-2022-27819 is a medium-severity (CVSS 5.3) CWE-770 vulnerability in Simple-Wayland-HotKey-Daemon. A fix is available for Simple-Wayland-HotKey-Daemon — see the affected versions and patch details below.
Unsafe parsing in SWHKD
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
Simple-Wayland-HotKey-DaemonReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.
Description
SWHKD 1.1.5 allows unsafe parsing via the -c option. An information leak might occur but there is a simple denial of service (memory exhaustion) upon an attempt to parse a large or infinite file (such as a block or character device).
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | Simple-Wayland-HotKey-Daemon | all versions | 1.2.0cargo update -p Simple-Wayland-HotKey-Daemon --precise 1.2.0 |
Affected Products
swhkdwaycrateDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Simple-Wayland-HotKey-Daemon, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update Simple-Wayland-HotKey-Daemon to 1.2.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-27819 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2022-27819 in your dependencies?
Find it across crates.io, including transitive dependencies.