CVE-2024-21522: Improper Validation of Array Index in audify
All versions of the package audify are vulnerable to Improper Validation of Array Index when frameSize is provided to the new OpusDecoder().decode or new OpusDecoder().decodeFloat functions it is not checked for negative values. This can lead to a process crash.
AI Analysis
Technical Summary
CVE-2024-21522 affects all versions of the audify package. The vulnerability arises because the frameSize parameter provided to the new OpusDecoder().decode or new OpusDecoder().decodeFloat functions is not validated for negative values. This improper validation of array index inputs can lead to a process crash, resulting in a denial of service condition. There is no indication of a patch or official remediation available at this time, and no known exploits in the wild have been reported.
Potential Impact
The vulnerability allows an attacker to cause a denial of service by crashing the process using negative values for the frameSize parameter in the affected functions. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid passing untrusted or negative values to the frameSize parameter in the OpusDecoder().decode and OpusDecoder().decodeFloat functions to prevent process crashes.
CVE-2024-21522: Improper Validation of Array Index in audify
Description
All versions of the package audify are vulnerable to Improper Validation of Array Index when frameSize is provided to the new OpusDecoder().decode or new OpusDecoder().decodeFloat functions it is not checked for negative values. This can lead to a process crash.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-21522 affects all versions of the audify package. The vulnerability arises because the frameSize parameter provided to the new OpusDecoder().decode or new OpusDecoder().decodeFloat functions is not validated for negative values. This improper validation of array index inputs can lead to a process crash, resulting in a denial of service condition. There is no indication of a patch or official remediation available at this time, and no known exploits in the wild have been reported.
Potential Impact
The vulnerability allows an attacker to cause a denial of service by crashing the process using negative values for the frameSize parameter in the affected functions. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid passing untrusted or negative values to the frameSize parameter in the OpusDecoder().decode and OpusDecoder().decodeFloat functions to prevent process crashes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2023-12-22T12:33:20.121Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a492c1a27e9c797197cec72
Added to database: 07/04/2026, 15:51:54 UTC
Last enriched: 07/12/2026, 08:03:01 UTC
Last updated: 09/10/2026, 19:36:47 UTC
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.