CVE Vulnerabilities

CVE-2018-19840

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Dec 04, 2018 | Modified: Nov 07, 2023
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

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.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Wavpack Wavpack * 5.1.0 (including)
Red Hat Enterprise Linux 8 RedHat wavpack-0:5.1.0-15.el8 *
Wavpack Ubuntu bionic *
Wavpack Ubuntu cosmic *
Wavpack Ubuntu devel *
Wavpack Ubuntu trusty *
Wavpack Ubuntu upstream *
Wavpack Ubuntu xenial *

References