Out-of-bounds Read in Bellard Mquickjs
CVE-2025-71470
MicroQuickJS (mquickjs) before commit 99eed3f contains an out-of-bounds read vulnerability because JS_Call() raises exceptions during frame setup without updating ctx->sp and ctx->fp. Attackers can supply JavaScript that calls a non-function value, causing build_backtrace() to walk stale frame pointers and crash the engine for denial of service.
Vulnerability class: Buffer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/bellard/mquickjs/issues/24 (issue-tracking)
- github.com/bellard/mquickjs/commit/99eed3f94cb66ea7e02fd3472ca7374dee31bb89 (patch)
- github.com/sigdevel/pocs/blob/main/res/mquickjs/1/mquickjs_c_3981 (exploit)
- www.vulncheck.com/advisories/microquickjs-before-commit-99eed3f-out-of-bounds-r… (third-party-advisory)