CVE-2018-10538
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | wavpack | Fixed | 5.1.0-2ubuntu1.1 | UBUNTU-CVE-2018-10538 |
| Ubuntu 16.04 | wavpack | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | wavpack | Not affected vulnerable_code_not_present | ||
| Debian 14 | wavpack | Fixed | 5.1.0-3 | DEBIAN-CVE-2018-10538 |
| Debian 13 | wavpack | Fixed | 5.1.0-3 | DEBIAN-CVE-2018-10538 |
| Debian 12 | wavpack | Fixed | 5.1.0-3 | DEBIAN-CVE-2018-10538 |
| Red Hat Enterprise Linux 8 | wavpack | Not affected | ||
| Red Hat Enterprise Linux 8 | wavpack-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | wavpack | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | wavpack-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | wavpack | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | wavpack-devel | Will not fix Will not fix | ||
| Alpine Linux 3.24 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.23 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.22 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.21 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.20 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.19 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.18 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.17 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.16 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.15 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.14 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.13 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.12 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.11 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.10 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.9 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.8 | wavpack | Fixed | 5.1.0-r6 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.7 | wavpack | Fixed | 5.1.0-r2 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.6 | wavpack | Fixed | 5.1.0-r2 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.5 | wavpack | Fixed | 5.1.0-r2 | ALPINE-CVE-2018-10538 |
| Alpine Linux 3.4 | wavpack | Fixed | 5.1.0-r2 | ALPINE-CVE-2018-10538 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2018/dsa-4197 (vendor-advisory)
- https://usn.ubuntu.com/3637-1/ (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/dbry/WavPack/issues/33
- https://www.debian.org/security/2018/dsa-4197
- https://usn.ubuntu.com/3637-1/
- https://github.com/dbry/WavPack/commit/6f8bb34c2993a48ab9afbe353e6d0cff7c8d821d
- https://seclists.org/bugtraq/2019/Dec/37
- http://packetstormsecurity.com/files/155743/Slackware-Security-Advisory-wavpack-Updates.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6CFFFWIWALGQPKINRDW3PRGRD5LOLGZA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRWQNE3TH5UF64IKHKKHVCHJHUOVKJUH/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.