Denial-of-Service Vulnerability in WavPack Package

wavpack Updated 02 Oct 2025

Summary

04/12/2018
N/A
Yes i
Medium
5.5

ALPINE-CVE-2018-19841: The function WavpackVerifySingleBlock in open_utils.c in libwavpack.a in WavPack through 5.1.0 allows attackers to cause a denial-of-service (out-of-bounds read and application crash) via a crafted WavPack Lossless Audio... Affects wavpack versions < 5.1.0-r7. Fixed in 5.1.0-r7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

WavPack is an open-source audio compression format that provides lossless and lossy compression for audio files. It is widely used for its efficiency and quality in audio preservation. However, certain versions of WavPack are susceptible to a denial-of-service vulnerability that can be exploited through specially crafted audio files, leading to application crashes.

Vulnerability Detail

The vulnerability, identified as CVE-2018-19841, exists in the function WavpackVerifySingleBlock within the open_utils.c file of the libwavpack.a library. It allows attackers to trigger an out-of-bounds read, resulting in a denial-of-service condition and application crashes when processing malicious WavPack Lossless Audio files. This vulnerability can be exploited without authentication, making it particularly dangerous.

How To Fix

Minimum fixed version

5.1.0-r7

This is the first release that contains the fix.

sudo apk add --upgrade wavpack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can avoid processing untrusted WavPack files until the package is updated. Additionally, implementing input validation to check the integrity of audio files before processing may help mitigate the risk.

Conclusion

The WavPack package has a critical vulnerability (CVE-2018-19841) that can lead to denial-of-service attacks through crafted audio files. Users are advised to update to the latest patched versions to mitigate risks. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software.

See every vulnerability recorded for wavpack →

Share this vulnerability

FAQ

CVE-2018-19841 is a vulnerability in the WavPack package that allows attackers to cause a denial-of-service condition through specially crafted audio files.

If you are using WavPack versions prior to 5.1.0-r3 or 5.1.0-r7, depending on your Alpine version, you are likely affected by this vulnerability.

Exploiting this vulnerability can lead to application crashes, resulting in denial-of-service conditions for users processing malicious audio files.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for wavpack.

How To Fix

Minimum fixed version

5.1.0-r7

This is the first release that contains the fix.

sudo apk add --upgrade wavpack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback