CVE-2018-19840

The function WavpackPackInit in pack_utils.c in libwavpack.a in WavPack through 5.1.0 allows attackers to cause a denial-of-service (resource exhaustion caused by an infinite loop) via a crafted wav audio file because WavpackSetConfiguration64 mishandles a sample rate of zero.

Published: 2018-12-04 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-19840 is rated Moderate Risk (45.4/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.50%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2018-19840

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-31 0.35% 0.50% +0.16%
2 2025-09-19 0.35% 0.35% -0.01%
3 2025-06-19 0.35%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-19840

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.5 3.0 MEDIUM
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 3.6 [email protected]
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2018-19840

OS Trackers for CVE-2018-19840

vendor priority summary link
alpine medium CVE-2018-19840: 1 source package rows (wavpack); 18 state rows across 9 repos (3.10-main, 3.11-main, 3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 12, open 6. https://security.alpinelinux.org/vuln/CVE-2018-19840
debian not yet assigned CVE-2018-19840 not yet assigned priority: Debian including 1 source packages (wavpack), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-19840
gentoo normal CVE-2018-19840: 1 GLSA(s) (202007-19), 1 atom(s) (media-sound/wavpack); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-19840
redhat low https://access.redhat.com/security/cve/CVE-2018-19840
suse low CVE-2018-19840 severity low: SUSE including 268 source package names (amazon/suse-sles-15-sp1-chost-byos-v20210304-hvm-ssd-x86_64, amazon/suse-sles-15-sp1-chost-byos-v20220127-hvm-ssd-x86_64, …), 363 product×package rows across 87 product lines (Image SLES15-SP3-EC2-HVM, Image SLES15-SP3-SAP-Azure, … (87 product lines)): Known Affected 231, Fixed 132. https://www.suse.com/security/cve/CVE-2018-19840/
ubuntu medium CVE-2018-19840 medium priority: Ubuntu including 1 source packages (wavpack), 5 status rows across 5 suites (bionic, cosmic, trusty, upstream, xenial): released 5. https://ubuntu.com/security/CVE-2018-19840

Affected software / configurations for CVE-2018-19840

Vendor Product Version Raw CPE
wavpack wavpack <= 5.1.0 cpe:2.3:a:wavpack:wavpack:*:*:*:*:*:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.10 cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
fedoraproject fedora 28 cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*
fedoraproject fedora 29 cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
fedoraproject fedora 30 cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
opensuse leap 15.0 cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*

References for CVE-2018-19840

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00029.html Third Party Advisory
http://packetstormsecurity.com/files/155743/Slackware-Security-Advisory-wavpack-Updates.html
https://github.com/dbry/WavPack/commit/070ef6f138956d9ea9612e69586152339dbefe51 Patch Third Party Advisory
https://github.com/dbry/WavPack/issues/53 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/01/msg00013.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3BLSOEVEKF4VNNVNZ2AN46BJUT4TGVWT/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6CFFFWIWALGQPKINRDW3PRGRD5LOLGZA/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRWQNE3TH5UF64IKHKKHVCHJHUOVKJUH/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NZGXJUHCGQI6XKLCBUZHXPYIIWMFWA22/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WVVKOBJR5APOB3KWUWJ4UWQHUBZQL6C6/
https://seclists.org/bugtraq/2019/Dec/37
https://security.gentoo.org/glsa/202007-19
https://usn.ubuntu.com/3839-1/ Third Party Advisory
cvelogic Threat Intelligence