What’s Vulnerable › Vulnerabilities
CVE-2022-25345: Denial of Service (DoS)
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-06-17 · updated 2026-06-17
- Weakness: CWE-908
Description
All versions of package @discordjs/opus are vulnerable to Denial of Service (DoS) when trying to encode using an encoder with zero channels, or a non-initialized buffer. This leads to a hard crash.
Affected products
- @discordjs/opus: all versions
References
- https://github.com/discordjs/opus/blob/3ca4341ffdd81cf83cec57045e59e228e6017590/src/node-opus.cc%23L28
- https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100
- https://github.com/discordjs/opus/blob/3ca4341ffdd81cf83cec57045e59e228e6017590/src/node-opus.cc%23L28
- https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100
Get alerted when CVE-2022-25345 or the next vulnerability affects your stack