Skip to content
OpenAdvisories
Unscored CVE-2018-10540 EUVD-2018-2612GHSA-q3x4-g6w4-58j4

An issue was discovered in WavPack 5.1.0 and earlier for W64 input. Out-of-bounds writes can occur because ParseWave64HeaderConfig in wave6…

Published Apr 29, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in WavPack 5.1.0 and earlier for W64 input. Out-of-bounds writes can occur because ParseWave64HeaderConfig in wave64.c does not validate the sizes of unknown chunks before attempting memory allocation, related to a lack of integer-overflow protection within a bytes_to_copy calculation and subsequent malloc call, leading to insufficient memory allocation.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 wavpack 5.1.0-3 —
Debian 13 wavpack 5.1.0-3 —
Debian 12 wavpack 5.1.0-3 —
Debian 9 wavpack 5.0.0-2+deb9u2 DSA-4197-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS wavpack 5.1.0-2ubuntu1.1 USN-3637-1
ReleasePackageFixed inAdvisory
SLES 15 SP2 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
SLES 15 SP1 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
SLES 15 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
SLES for SAP 15 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
SLE HPC 15 SP1 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
SLE HPC 15 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
SUSE Manager Server 4.0 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
SUSE Manager Retail Branch Server 4.0 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
SUSE Manager Proxy 4.0 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
SUSE Enterprise Storage 6 wavpack 5.4.0-4.9.1 SUSE-SU-2021:0186-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 wavpack 5.4.0-lp152.7.3.1 openSUSE-SU-2021:0153-1
openSUSE Leap 15.1 wavpack 5.4.0-lp151.5.6.1 openSUSE-SU-2021:0154-1

Advisories 5

References