{"id":"CVE-2025-2368","summary":"WebAssembly wabt Malformed File binary-reader-interp.cc OnExport heap-based overflow","details":"A vulnerability was found in WebAssembly wabt 1.0.36 and classified as critical. This issue affects the function wabt::interp::(anonymous namespace)::BinaryReaderInterp::OnExport of the file wabt/src/interp/binary-reader-interp.cc of the component Malformed File Handler. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue.","aliases":["PYSEC-2025-227"],"modified":"2026-08-12T03:51:09.204245771Z","published":"2025-03-17T08:00:05.922Z","database_specific":{"cwe_ids":["CWE-119","CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2368.json","cna_assigner":"VulDB"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2368.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2368"},{"type":"ADVISORY","url":"https://vuldb.com/?id.299867"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.515327"},{"type":"REPORT","url":"https://github.com/WebAssembly/wabt/issues/2537"},{"type":"REPORT","url":"https://github.com/WebAssembly/wabt/issues/2556"},{"type":"REPORT","url":"https://github.com/WebAssembly/wabt/issues/2556#issue-2899598349"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.299867"},{"type":"FIX","url":"https://github.com/WebAssembly/wabt/pull/2541"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/webassembly/wabt","events":[{"introduced":"3e826ecde1adfba5f88d10d361131405637e65a3"},{"last_affected":"3e826ecde1adfba5f88d10d361131405637e65a3"}],"database_specific":{"extracted_events":[{"introduced":"1.0.36"},{"last_affected":"1.0.36"}],"source":["AFFECTED_FIELD","CPE_STRING"],"cpe":"cpe:2.3:a:webassembly:wabt:1.0.36:*:*:*:*:*:*:*"}}],"versions":["1.0.36"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2368.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"}]}