Uncontrolled resource consumption in @discordjs/opus
Priority HIGH 72CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
All versions of the package @discordjs/opus are vulnerable to Denial of Service (DoS) due to providing an input object with a property toString to several different functions. Exploiting this vulnerability could lead to a system crash.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00597 48th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | @discordjs/opus | all versions | — | No fix listed | CNA |
| — | @discordjs/opus (npm) | up to 0.9.0 | — | No fix listed | GHSA-43wq-xrcm-3vgr |
- @discordjs/opus Vendor— Affected all versions Fixed in — No fix listed CNA
- @discordjs/opus (npm) Vendor— Affected up to 0.9.0 Fixed in — No fix listed GHSA-43wq-xrcm-3vgr
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:discordjs_opus:discordjs_opus:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:discordjs_opus:discordjs_opus:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-21521
- 2026-10-03 Alias added: GHSA-43wq-xrcm-3vgr
References
Other 4
- https://github.com/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc%23L47
- https://gist.github.com/dellalibera/98c48fd74bb240adbd7841a5c02aba9e
- https://github.com/discordjs/opus
- https://github.com/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc#L47
Sources
- CVE-2024-21521 · CVE Program
- CVE-2024-21521 · NVD
- FIRST EPSS
- GHSA-43wq-xrcm-3vgr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences