Resource exhaustion in Webassembly Binaryen

CVE-2019-7704

wasm::WasmBinaryBuilder::readUserSection in wasm-binary.cpp in Binaryen 1.38.22 triggers an attempt at excessive memory allocation, as demonstrated by wasm-merge and wasm-opt.

EPSS: 0.012 (63.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Exploit, Patch, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2019-7704?
CVE-2019-7704 is a medium-severity vulnerability in Webassembly Binaryen, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 6.5/10. Published 2019-02-10.
How severe is CVE-2019-7704?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2019-7704 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.