CVE-2018-19840 Denial of service in n/a

Medium 5.5 Published Updated

Attackers can cause denial of service via infinite loop in WavPack library when processing crafted audio files with zero sample rate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-19840?

CVE-2018-19840 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 4 Dec 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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: CWE-835

Which versions are affected by CVE-2018-19840?

It affects 4 products.

Linux distribution packages (6)
wavpack SUSE:Linux Enterprise Server 11 SP4All versions4.50.1-1.30.1
wavpack SUSE:Linux Enterprise Server 12 SP5All versions4.60.99-5.6.3
wavpack SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions4.50.1-1.30.1
wavpack SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions4.60.99-5.6.3
wavpack SUSE:Linux Enterprise Software Development Kit 11 SP4All versions4.50.1-1.30.1
wavpack SUSE:Linux Enterprise Software Development Kit 12 SP5All versions4.60.99-5.6.3

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Opensuse Leap, Wavpack Wavpack.

How do I fix CVE-2018-19840?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-19840 being exploited?

There is no known exploitation of CVE-2018-19840 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-19840, DEBIAN-CVE-2018-19840, GHSA-5xqp-7g33-7hx3, SUSE-SU-2019:13990-1, SUSE-SU-2020:2727-1, UBUNTU-CVE-2018-19840.

Is CVE-2018-19840 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free