Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-17292
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:26 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-17292
Complete source record
{
"id": "022bee499bd8147b3e10df01190ed24cac6bca71c8c7242ab80893b722bc360f",
"url": "https://osv.dev/vulnerability/CVE-2018-17292",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-17292",
"summary": "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.",
"evidence": "osv:CVE-2018-17292",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-17292",
"aliases": [
"CVE-2018-17292"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wavm/wavm",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17292.json",
"vanir_signatures": [
{
"id": "CVE-2018-17292-2958001b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"112379488776436947612710551796701402285",
"298952837052144306289224370212553157791",
"333636664427175226892314460735793132550",
"49201747908917128368529990071983717468"
]
},
"source": "https://github.com/wavm/wavm/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1",
"target": {
"file": "Include/Inline/CLI.h"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-17292-bf49ce6b",
"digest": {
"length": 574,
"function_hash": "117933967364559220472287494539571197985"
},
"source": "https://github.com/wavm/wavm/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1",
"target": {
"file": "Include/Inline/CLI.h",
"function": "loadModule"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:32:05Z"
}
}
],
"modified": "2026-10-20T13:32:05.393630159Z",
"provider": "osv",
"references": [
"https://github.com/WAVM/WAVM/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1",
"https://github.com/WAVM/WAVM/issues/109"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:webassembly_virtual_machine_project:webassembly_virtual_machine:*:*:*:*:*:*:*:*"
],
"vendor_product": "webassembly_virtual_machine_project:webassembly_virtual_machine",
"extracted_events": [
{
"range": [
{
"fixed": "2018-09-16"
}
],
"source": "CPE_RANGE"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "2018-09-16"
}
],
"source": "DESCRIPTION"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-17292",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387790,
"published_at": "2018-09-21T07:29:00.287+00:00"
}