Back to CVE records
High 8.8Published Oct 16, 2025

CVE-2025-62490Use-after-free in js_print_object in QuickJS

Updated under an hour ago ()

Does this affect you?

It affects QuickJS and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

In quickjs, in js_print_object, when printing an array, the function first fetches the array length and then loops over it. The issue is, printing a value is not side-effect free. An attacker-defined callback could run during js_print_value, during which the array could get resized and len1 become out of bounds. This results in a use-after-free.A second instance occurs in the same function during printing of a map or set objects. The code iterates over ms->records list, but once again, elements could be removed from the list during js_print_value call.

CVSS
8.8 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-416
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Google
NVD analysis
Analyzed
Record last updated
Oct 16, 2025
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
QuickJS QuickJS
quickjs:quickjs (from the name)
from 2025-04-26 before 2025-09-13
CNA record
quickjs_project quickjs
quickjs_project:quickjs
before 2025-09-13
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.