CVE-2025-62490

CVE-2025-62490 is a high-severity vulnerability in Quickjs Project Quickjs with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-416.

Key facts

Description

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.

Frequently asked questions

What is CVE-2025-62490?
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.
How severe is CVE-2025-62490?
CVE-2025-62490 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over an adjacent network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2025-62490 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (29th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-62490?
CVE-2025-62490 affects Quickjs Project Quickjs. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-62490?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2025-62490 have an EU (EUVD) identifier?
Yes. CVE-2025-62490 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-34784.
When was CVE-2025-62490 published?
CVE-2025-62490 was published on 2025-10-16 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Quickjs Project Quickjs

All CVEs affecting Quickjs Project Quickjs →

Other CWE-416 (Use After Free) vulnerabilities

Browse all CWE-416 (Use After Free) vulnerabilities →