Description
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 (2)
Core 2
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/WAVM/WAVM/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1
Exploit, Patch, Third Party Advisory x_refsource_misc
https://github.com/WAVM/WAVM/issues/109
Scores
CVSS v3
6.5
EPSS
0.0029
EPSS Percentile
51.8%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (1)
webassembly_virtual_machine_project/webassembly_virtual_machine
< 2018-09-16
Published
Sep 21, 2018
Tracked Since
Feb 18, 2026