目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-54912— WAMR 常量去重不匹配导致堆缓冲区溢出

一分钟漏洞结论

影响对象
bytecodealliance wasm-micro-runtime
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

WebAssembly Micro Runtime(WAMR)是一款轻量级、独立运行的 WebAssembly(Wasm)运行时。在 2.4.5 版本之前,位于 中的两阶段快速解释器加载器在“尺寸计算阶段”与“代码生成阶段”之间,可能对常量表做出不一致的决策。当重复常量导致第一阶段超出常量槽位限制时, 会将后续常量以内联方式发出;然而,两阶段之间的排序与去重操作会缩减常量表,使得第二阶段转而选择常量表引用,并调用 生成额外的复制操作数,而这些操作数并未被计入 的计算中。因此,攻击者可构造恶意模块,在 函数根据第一阶

CVSS 8.8 · High
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-54912 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
WAMR fast interpreter loader heap buffer overflow via constant deduplication mismatch
来源: CVE Program / CVE List V5
Vulnerability 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.
来源: CVE Program / CVE List V5
CVSS Information
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
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
bytecodealliance wasm-micro-runtime < 2.4.5 -

二、漏洞 CVE-2026-54912 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-54912 的情报信息

请登录查看更多情报信息。

CVE-2026-54912 其他参考 (4)

同批安全公告 · bytecodealliance · 2026-11-05 · 共 3 条

CVE-2026-54914 8.3 HIGH WAMR WASI poll_oneoff 输出缓冲区溢出漏洞
CVE-2026-54913 6.9 MEDIUM WAMR 堆栈内存泄露漏洞

IV. Related Vulnerabilities