Out-of-bounds Write Affecting wavpack package, versions <5.4.0-4.9.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.19% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES152-WAVPACK-2691005
  • published14 Apr 2022
  • disclosed21 Jan 2021

Introduced: 21 Jan 2021

CVE-2018-10538  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 wavpack to version 5.4.0-4.9.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream wavpack package and not the wavpack package as distributed by SLES. See How to fix? for SLES:15.2 relevant fixed versions and status.

An issue was discovered in WavPack 5.1.0 and earlier for WAV input. Out-of-bounds writes can occur because ParseRiffHeaderConfig in riff.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.

CVSS Scores

version 3.1