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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17292.json"
"2026-04-11T11:39:43Z"
[
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2018-09-16"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2018-09-16"
}
]
}
]
[
{
"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"
}
}
]