{"id":"UBUNTU-CVE-2020-18378","details":"A NULL pointer dereference was discovered in SExpressionWasmBuilder::makeBlock in wasm/wasm-s-parser.c in Binaryen 1.38.26. A crafted wasm input can cause a segmentation fault, leading to denial-of-service, as demonstrated by wasm-as.","modified":"2026-05-20T16:04:14.656253334Z","published":"2023-08-22T19:15:00Z","upstream":["CVE-2020-18378"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-18378"},{"type":"REPORT","url":"https://github.com/WebAssembly/binaryen/issues/1900"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-18378"}],"affected":[{"package":{"name":"binaryen","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/binaryen?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["89-1","90-1","91-1"],"ecosystem_specific":{"binaries":[{"binary_name":"binaryen","binary_version":"91-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-18378.json"}},{"package":{"name":"binaryen","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/binaryen?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["99-3","105-1"],"ecosystem_specific":{"binaries":[{"binary_name":"binaryen","binary_version":"105-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-18378.json"}},{"package":{"name":"binaryen","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/binaryen?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["108-1"],"ecosystem_specific":{"binaries":[{"binary_name":"binaryen","binary_version":"108-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-18378.json"}},{"package":{"name":"binaryen","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/binaryen?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["120-3","120-4"],"ecosystem_specific":{"binaries":[{"binary_version":"120-4","binary_name":"binaryen"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-18378.json"}},{"package":{"name":"binaryen","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/binaryen?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["120-4","120-4build1"],"ecosystem_specific":{"binaries":[{"binary_name":"binaryen","binary_version":"120-4build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-18378.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}