{"schemaVersion":4,"id":"CVE-2026-54912","aliases":[],"status":"published","duplicateOf":null,"title":"WAMR fast interpreter loader heap buffer overflow via constant deduplication mismatch","description":"WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. Prior to 2.4.5, the two-pass fast interpreter loader in core/iwasm/interpreter/wasm_loader.c can make inconsistent constant-table decisions between the sizing pass and the emitting pass. After duplicate constants inflate the first pass beyond the constant-slot limit, wasm_loader_get_const_offset emits later constants inline, but the between-pass sort and deduplication reduces the table so the second pass can choose table references and cause reserve_block_ret to emit additional copy operands that were not included in code_compiled_peak_size. A crafted module can therefore make the second pass write partially attacker-controlled compiled-code data beyond the heap buffer allocated from the first pass's size calculation during wasm_runtime_load, before guest code executes. This can corrupt host heap metadata and deterministically crash the process, causing denial of service; further consequences depend on the host application's heap layout. Builds using WAMR_BUILD_FAST_INTERP=1 are affected; disabling the fast interpreter avoids the vulnerable loader. This issue is fixed in version 2.4.5.","dates":{"published":"2026-11-05T17:29:18.708Z","modified":"2026-11-05T18:44:51.857Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00451,"percentile":0.40923,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-06T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00451,"percentile":0.40923}],"last30":[{"date":"2026-11-06T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00451,"percentile":0.40923}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"bytecodealliance","product":"wasm-micro-runtime","name":"wasm-micro-runtime","label":"wasm-micro-runtime","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.4.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.4.5","endInclusive":false}}],"versionsText":"< 2.4.5","eol":null,"hubHref":"/vendor/bytecodealliance/wasm-micro-runtime"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/wasm-micro-runtime/wasm-micro-runtime/security/advisories/GHSA-jjv3-x3jf-cg49","label":"github.com/wasm-micro-runtime/wasm-micro-runtime/security/advisories/GHSA-jjv3-x3jf-cg49","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/wasm-micro-runtime/wasm-micro-runtime/commit/b1353b5e8983047ff68829c99abf1355d5f389cf","label":"github.com/wasm-micro-runtime/wasm-micro-runtime/commit/b1353b5e8983047ff68829c99abf1355d5f389cf","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://gist.github.com/shumbo/b710c35b005ed871447fce385d1ab760","label":"gist.github.com/shumbo/b710c35b005ed871447fce385d1ab760","hostname":"gist.github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/wasm-micro-runtime/wasm-micro-runtime/releases/tag/WAMR-2.4.5","label":"github.com/wasm-micro-runtime/wasm-micro-runtime/releases/tag/WAMR-2.4.5","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-05T17:29:18.708Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-05T18:44:51.857Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 2.4.5 (CNA); fix release not confirmed","rank":[0,0,0,0,0,88],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00451,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-05T18:44:51.857Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-05T18:44:51.857Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-11-05T18:42:22.842Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00451,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:12:51.530Z","stale":false,"partial":false}}