{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-62491","published":"2025-10-16T16:15:39.470000Z","last_modified":"2026-10-19T16:10:00.260000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.8,"severity":"HIGH","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/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","source":"cve-coordination@google.com","primary":false},"auth":false,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:a:quickjs_project:quickjs:*:*:*:*:*:*:*:*","part":"a","vendor":"quickjs_project","product":"quickjs","version_end_excluding":"2025-09-13"}],"cpes_truncated":false,"vendors":["quickjs_project"],"products":["quickjs_project/quickjs"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2025-62491/","html_en":"/en/cve/CVE-2025-62491/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-62491","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-62491"},"untrusted":{"vendor_name":"Quickjs Project","product_name":"Quickjs","desc_en":"A Use-After-Free (UAF) vulnerability exists in the QuickJS engine's standard library when iterating over the global list of unhandled rejected promises (ts->rejected_promise_list).\n\n  *  The function js_std_promise_rejection_check attempts to iterate over the rejected_promise_list to report unhandled rejections using a standard list loop.\n\n\n  *  The reason for a promise rejection is processed inside the loop, including calling js_std_dump_error1(ctx, rp->reason).\n\n\n  *  If the promise rejection reason is an Error object that defines a custom property getter (e.g., via Object.defineProperty), this getter is executed during the error dumping process.\n\n\n  *  The malicious custom getter can execute JavaScript code that calls catch() on the same rejected promise being processed.\n\n\n  *  Calling catch() internally triggers js_std_promise_rejection_tracker, which then removes and frees the current promise entry (JSRejectedPromiseEntry) from the rejected_promise_list.\n\n\n  *  Since the list iteration continues using the now-freed memory pointer (el), the subsequent loop access results in a Use-After-Free condition.","affected":[{"untrusted_vendor":"QuickJS","untrusted_product":"QuickJS","versions":[]}],"references":[{"url":"https://bellard.org/quickjs/Changelog","tags":["Release Notes"]},{"url":"https://issuetracker.google.com/434195203","tags":["Exploit","Issue Tracking"]}]}}