CVE-2022-25345
HIGH@discordjs/opus < 0.8.0 - Denial of Service via Zero Channel Encoder or Uninitialized Buffer
Title source: llmDescription
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.
References (2)
Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100
Broken Link, Third Party Advisory x_refsource_misc
https://github.com/discordjs/opus/blob/3ca4341ffdd81cf83cec57045e59e228e6017590/src/node-opus.cc%23L28
Scores
CVSS v3
7.5
EPSS
0.0124
EPSS Percentile
65.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-908
Status
published
Products (2)
discordjs/opus
discordjs/opus
0 - 0.8.0npm
Published
Jun 17, 2022
Tracked Since
Feb 18, 2026