cve.bz

CVE-2018-19840 Infinite Loop

5.5 mediumEPSS 2.0%Fix available

Medium (5.5). EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

5.5 medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-19840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-19840?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-19840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-19840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
wavpack:wavpackthrough 5.1.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
fedoraproject:fedora28
fedoraproject:fedora29
fedoraproject:fedora30
opensuse:leap15.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9wavpack5.0.0-2+deb9u3DLA-2525-1
Debian12, 13, 14wavpack5.1.0-5DEBIAN-CVE-2018-19840
Ubuntu14.04:LTSwavpack4.70.0-1ubuntu0.2UBUNTU-CVE-2018-19840 USN-3839-1
Ubuntu16.04:LTSwavpack4.75.2-2ubuntu0.2UBUNTU-CVE-2018-19840 USN-3839-1
Ubuntu18.04:LTSwavpack5.1.0-2ubuntu1.2UBUNTU-CVE-2018-19840 USN-3839-1
Red Hatenterprise_linux:8::appstreamwavpack, wavpack-debuginfo, wavpack-debugsource0:5.1.0-15.el8RHSA-2020:1581
Red Hatenterprise_linux:8::crbwavpack-devel, wavpack-debuginfo, wavpack-debugsource0:5.1.0-15.el8RHSA-2020:1581
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 morewavpack5.4.0-4.9.1SUSE-SU-2021:0186-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Desktop Applications 15wavpack5.1.0-4.3.5SUSE-SU-2019:0772-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4wavpack4.50.1-1.30.1SUSE-SU-2019:13990-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5wavpack4.60.99-5.6.3SUSE-SU-2020:2727-1
openSUSELeap 15.0wavpack5.1.0-lp150.3.3.1openSUSE-SU-2019:1145-1
openSUSELeap 15.1wavpack5.4.0-lp151.5.6.1openSUSE-SU-2021:0154-1
openSUSELeap 15.2wavpack5.4.0-lp152.7.3.1openSUSE-SU-2021:0153-1
openSUSETumbleweedwavpack5.4.0-1.6openSUSE-SU-2024:11505-1
AlmaLinux8wavpack, wavpack-devel5.1.0-15.el8ALSA-2020:1581
Rocky Linux8wavpack0:5.1.0-15.el8RLSA-2020:1581
Alpinev3.6, v3.7wavpack5.1.0-r3ALPINE-CVE-2018-19840
Alpinev3.8, v3.9, v3.10 and 14 morewavpack5.1.0-r7ALPINE-CVE-2018-19840

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue affects the versions of wavpack as shipped with Red Hat Enterprise Linux 6 and 7.

Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Low, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8wavpack-0:5.1.0-15.el8Fixed 2020-04-28RHSA-2020:1581
Red Hat Enterprise Linux 6wavpackWill not fix
Red Hat Enterprise Linux 7wavpackWill not fix
Red Hat Enterprise Linux 8mingw-wavpackFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-19840.

References

Check your stackJSON