cvedb.io
CVE-2025-62491
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2025-10-16T16:15:39.470 · Last modified 2026-06-17T09:51:58.483

Summary

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). * The function js_std_promise_rejection_check attempts to iterate over the rejected_promise_list to report unhandled rejections using a standard list loop. * The reason for a promise rejection is processed inside the loop, including calling js_std_dump_error1(ctx, rp->reason). * 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. * The malicious custom getter can execute JavaScript code that calls catch() on the same rejected promise being processed. * Calling

Affected products

quickjs_project — quickjs

Does this affect you?

Add your gear to cvedb and we'll alert you only when quickjs_project ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.