CVE-2018-17292

Source
https://cve.org/CVERecord?id=CVE-2018-17292
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17292.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-17292
Published
2018-09-21T07:29:00.287Z
Modified
2026-04-11T11:39:43.016041Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in WAVM before 2018-09-16. The loadModule function in Include/Inline/CLI.h lacks checking of the file length before a file magic comparison, allowing attackers to cause a Denial of Service (application crash caused by out-of-bounds read) by crafting a file that has fewer than 4 bytes.

References

Affected packages

Git / github.com/wavm/wavm

Affected ranges

Type
GIT
Repo
https://github.com/wavm/wavm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/wavm/wavm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17292.json"
vanir_signatures_modified
"2026-04-11T11:39:43Z"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "2018-09-16"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "2018-09-16"
            }
        ]
    }
]
vanir_signatures
[
    {
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/wavm/wavm/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "112379488776436947612710551796701402285",
                "298952837052144306289224370212553157791",
                "333636664427175226892314460735793132550",
                "49201747908917128368529990071983717468"
            ]
        },
        "id": "CVE-2018-17292-2958001b",
        "deprecated": false,
        "target": {
            "file": "Include/Inline/CLI.h"
        }
    },
    {
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/wavm/wavm/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1",
        "digest": {
            "function_hash": "117933967364559220472287494539571197985",
            "length": 574.0
        },
        "id": "CVE-2018-17292-bf49ce6b",
        "deprecated": false,
        "target": {
            "file": "Include/Inline/CLI.h",
            "function": "loadModule"
        }
    }
]