Buffer overflow in Wavpack
CVE-2018-10539
An issue was discovered in WavPack 5.1.0 and earlier for DSDiff input. Out-of-bounds writes can occur because ParseDsdiffHeaderConfig in dsdiff.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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.016, 76.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Wavpack
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (aflsmart/aflsmart, andir/nixos-issue-db-example). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/dbry/WavPack/issues/33 (Exploit, Third Party Advisory, Issue Tracking)
- DSA-4197 (vendor-advisory, Third Party Advisory)
- USN-3637-1 (vendor-advisory, Third Party Advisory)
- github.com/dbry/WavPack/commit/6f8bb34c2993a48ab9afbe353e6d0cff7c8d821d (Patch, Third Party Advisory)
- 20191219 [slackware-security] wavpack (SSA:2019-353-01) (mailing-list)
- packetstormsecurity.com/files/155743/Slackware-Security-Advisory-wavpack-Update…
- FEDORA-2020-e55567b6be (vendor-advisory)
- FEDORA-2020-73274c9df4 (vendor-advisory)