CVE-2018-19840

Source
https://cve.org/CVERecord?id=CVE-2018-19840
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19840.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-19840
Downstream
Related
Published
2018-12-04T09:29:00.600Z
Modified
2026-07-08T20:04:18.068328Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_STRING",
            "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"
                }
            ],
            "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:*:*:*:*:*:*:*"
            ]
        },
        {
            "source": "CPE_STRING",
            "extracted_events": [
                {
                    "introduced": "28"
                },
                {
                    "last_affected": "28"
                },
                {
                    "introduced": "29"
                },
                {
                    "last_affected": "29"
                },
                {
                    "introduced": "30"
                },
                {
                    "last_affected": "30"
                }
            ],
            "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:*:*:*:*:*:*:*"
            ]
        },
        {
            "source": "CPE_STRING",
            "extracted_events": [
                {
                    "introduced": "15.0"
                },
                {
                    "last_affected": "15.0"
                }
            ],
            "vendor_product": "opensuse:leap",
            "cpes": [
                "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/dbry/wavpack

Affected ranges

Type
GIT
Repo
https://github.com/dbry/wavpack
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
Show details
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.1.0"
        }
    ],
    "cpe": "cpe:2.3:a:wavpack:wavpack:*:*:*:*:*:*:*:*"
}

Affected versions

4.*
4.70.0
4.70.0-rc
4.75.0
4.75.0-rc
4.75.2
4.80.0
4.80.0-rc
5.*
5.0.0
5.0.0-alpha
5.0.0-alpha2
5.0.0-alpha3
5.0.0-alpha4
5.0.0-alpha5
5.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19840.json"
vanir_signatures_modified
"2026-07-08T20:04:18Z"
vanir_signatures
[
    {
        "source": "https://github.com/dbry/wavpack/commit/070ef6f138956d9ea9612e69586152339dbefe51",
        "target": {
            "file": "src/pack_utils.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "109524009393532704057515757123608873934",
                "308187253253712338333845699135135578363",
                "160307732922576192310224126902144133758"
            ]
        },
        "deprecated": false,
        "id": "CVE-2018-19840-01548206"
    },
    {
        "source": "https://github.com/dbry/wavpack/commit/070ef6f138956d9ea9612e69586152339dbefe51",
        "target": {
            "file": "src/pack_utils.c",
            "function": "WavpackSetConfiguration64"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 5678.0,
            "function_hash": "33576504915719694319716314055280451550"
        },
        "deprecated": false,
        "id": "CVE-2018-19840-edf4b29c"
    }
]