{"schemaVersion":3,"id":"CVE-2018-10540","aliases":["UBUNTU-CVE-2018-10540","DEBIAN-CVE-2018-10540"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-04-29T15:00:00.000Z","modified":"2024-08-05T07:39:07.998Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true}]},"epss":{"probability":0.01611,"percentile":0.75549,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-0.031000000000000125,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.01642},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03189,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01611,"percentile":0.75549}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03189,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01611,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01611,"percentile":0.75549}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_DBRY_WAVPACK","name":"Wavpack","source":"github","url":"https://github.com/dbry/WavPack/issues/33","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"wavpack","name":"wavpack","label":"wavpack","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/wavpack","purlType":"deb","versions":[{"text":"< 5.1.0-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.0-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"wavpack","name":"wavpack","label":"wavpack","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/wavpack","purlType":"deb","versions":[{"text":"< 5.1.0-2ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.0-2ubuntu1.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"wavpack","product":"wavpack","name":"wavpack","label":"wavpack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.1.0","eol":null,"hubHref":"/vendor/wavpack/wavpack"}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/dbry/WavPack/issues/33","label":"github.com/dbry/WavPack/issues/33","hostname":"github.com","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory","REPORT"]},{"url":"https://www.debian.org/security/2018/dsa-4197","label":"www.debian.org/security/2018/dsa-4197","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3637-1/","label":"usn.ubuntu.com/3637-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://github.com/dbry/WavPack/commit/6f8bb34c2993a48ab9afbe353e6d0cff7c8d821d","label":"github.com/dbry/WavPack/commit/6f8bb34c2993a48ab9afbe353e6d0cff7c8d821d","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory","REPORT"]},{"url":"https://seclists.org/bugtraq/2019/Dec/37","label":"seclists.org/bugtraq/2019/Dec/37","hostname":"seclists.org","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://packetstormsecurity.com/files/155743/Slackware-Security-Advisory-wavpack-Updates.html","label":"packetstormsecurity.com/files/155743/Slackware-Security-Advisory-wavpack-Updates.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6CFFFWIWALGQPKINRDW3PRGRD5LOLGZA/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRWQNE3TH5UF64IKHKKHVCHJHUOVKJUH/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://ubuntu.com/security/CVE-2018-10540","label":"ubuntu.com/security/CVE-2018-10540","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3637-1","label":"ubuntu.com/security/notices/USN-3637-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10540","label":"www.cve.org/CVERecord?id=CVE-2018-10540","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-10540","label":"security-tracker.debian.org/tracker/CVE-2018-10540","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4197-1","MGASA-2019-0045","OPENSUSE-SU-2021:0153-1","OPENSUSE-SU-2021:0154-1","SUSE-SU-2021:0186-1","USN-3637-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:0153-1","OPENSUSE-SU-2021:0154-1","SUSE-SU-2021:0186-1","USN-3637-1"]},"timeline":[{"kind":"published","date":"2018-04-29T15:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T07:39:07.998Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T10:04:37.815Z","stale":false,"partial":false}}