Critical Divide by Zero Vulnerability in WavPack Package

wavpack Updated 02 Oct 2025

Summary

11/07/2019
N/A
Yes i
Medium
5.5

ALPINE-CVE-2019-1010315: WavPack 5.1 and earlier is affected by: CWE 369: Divide by Zero. Affects wavpack versions < 5.1.0-r8. Fixed in 5.1.0-r8. 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 allows for lossless and lossy audio compression. It is widely used for its efficiency and high-quality output. However, versions 5.1 and earlier of WavPack are susceptible to a critical vulnerability that can lead to application crashes when processing maliciously crafted .wav files.

Vulnerability Detail

The vulnerability identified as CVE-2019-1010315 is a divide by zero error occurring in the ParseDsdiffHeaderConfig function within the dsdiff.c file of WavPack. This flaw can be exploited by attackers using specially crafted .wav files, potentially leading to unexpected crashes of software or services that attempt to parse these files. The impact of this vulnerability is significant, as it can disrupt services and affect user experience.

How To Fix

Minimum fixed version

5.1.0-r8

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 .wav files until the package is updated. Additionally, implementing input validation to check for file integrity before processing may mitigate the risk.

Conclusion

The WavPack package has a critical divide by zero vulnerability that can lead to application crashes when processing malicious .wav files. Users are advised to update to the latest patched version to mitigate risks associated with this vulnerability.

See every vulnerability recorded for wavpack →

Share this vulnerability

FAQ

The CVSS score for this vulnerability is 5.5, indicating a moderate severity level.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Without requiring access to code or installation, you can check your application using a manifest file like package-lock.json.

Exploitation of this vulnerability can lead to application crashes, resulting in service disruptions and a negative user experience.

Yes, you can avoid processing untrusted .wav files and implement input validation to check for file integrity.

More information about WavPack can be found on its official website or its GitHub repository.

Related vulnerabilities

Recent vulnerabilities recorded for wavpack.

How To Fix

Minimum fixed version

5.1.0-r8

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