{"id":"CVE-2018-19840","details":"The function WavpackPackInit in pack_utils.c in libwavpack.a in WavPack through 5.1.0 allows attackers to cause a denial-of-service (resource exhaustion caused by an infinite loop) via a crafted wav audio file because WavpackSetConfiguration64 mishandles a sample rate of zero.","modified":"2026-09-08T14:12:04.957732Z","published":"2018-12-04T09:29:00.600Z","related":["ALSA-2020:1581","SUSE-SU-2019:0772-1","SUSE-SU-2019:13990-1","SUSE-SU-2020:2727-1","SUSE-SU-2021:0186-1","openSUSE-SU-2019:1145-1","openSUSE-SU-2021:0153-1","openSUSE-SU-2021:0154-1","openSUSE-SU-2024:11505-1"],"database_specific":{"unresolved_ranges":[{"vendor_product":"canonical:ubuntu_linux","cpes":["cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"},{"introduced":"18.10"},{"last_affected":"18.10"}],"source":"CPE_STRING"},{"source":"CPE_STRING","vendor_product":"fedoraproject:fedora","cpes":["cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"28"},{"last_affected":"28"},{"introduced":"29"},{"last_affected":"29"},{"introduced":"30"},{"last_affected":"30"}]},{"cpes":["cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"15.0"},{"last_affected":"15.0"}],"source":"CPE_STRING","vendor_product":"opensuse:leap"}]},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/155743/Slackware-Security-Advisory-wavpack-Updates.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00013.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3BLSOEVEKF4VNNVNZ2AN46BJUT4TGVWT/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6CFFFWIWALGQPKINRDW3PRGRD5LOLGZA/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRWQNE3TH5UF64IKHKKHVCHJHUOVKJUH/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NZGXJUHCGQI6XKLCBUZHXPYIIWMFWA22/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WVVKOBJR5APOB3KWUWJ4UWQHUBZQL6C6/"},{"type":"WEB","url":"https://seclists.org/bugtraq/2019/Dec/37"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00029.html"},{"type":"ADVISORY","url":"https://github.com/dbry/WavPack/issues/53"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202007-19"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3839-1/"},{"type":"FIX","url":"https://github.com/dbry/WavPack/commit/070ef6f138956d9ea9612e69586152339dbefe51"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dbry/wavpack","events":[{"introduced":"0"},{"last_affected":"9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"},{"fixed":"070ef6f138956d9ea9612e69586152339dbefe51"}],"database_specific":{"cpe":"cpe:2.3:a:wavpack:wavpack:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"5.1.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["5.1.0","5.0.0","5.0.0-alpha5","5.0.0-alpha4","5.0.0-alpha3","5.0.0-alpha2","5.0.0-alpha","4.80.0","4.80.0-rc","4.75.2","4.75.0","4.75.0-rc","4.70.0","4.70.0-rc"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19840.json","vanir_signatures_modified":"2026-09-08T14:12:04Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["109524009393532704057515757123608873934","308187253253712338333845699135135578363","160307732922576192310224126902144133758"],"threshold":0.9},"id":"CVE-2018-19840-01548206","signature_type":"Line","signature_version":"v1","source":"https://github.com/dbry/wavpack/commit/070ef6f138956d9ea9612e69586152339dbefe51","target":{"file":"src/pack_utils.c"}},{"source":"https://github.com/dbry/wavpack/commit/070ef6f138956d9ea9612e69586152339dbefe51","target":{"function":"WavpackSetConfiguration64","file":"src/pack_utils.c"},"deprecated":false,"digest":{"function_hash":"33576504915719694319716314055280451550","length":5678},"id":"CVE-2018-19840-edf4b29c","signature_type":"Function","signature_version":"v1"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}