A NULL pointer dereference was discovered in wasm::Module::getFunctionOrNull in wasm/wasm.cpp in Binaryen 1.38.22. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm-opt.
The product dereferences a pointer that it expects to be valid but is NULL.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Binaryen | Webassembly | * | 65 (excluding) |
Binaryen | Ubuntu | disco | * |
Binaryen | Ubuntu | eoan | * |
Binaryen | Ubuntu | focal | * |
Binaryen | Ubuntu | groovy | * |
Binaryen | Ubuntu | hirsute | * |
Binaryen | Ubuntu | impish | * |
Binaryen | Ubuntu | kinetic | * |
Binaryen | Ubuntu | lunar | * |
Binaryen | Ubuntu | mantic | * |
Binaryen | Ubuntu | oracular | * |