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
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v4: 8.8
- EPSS exploit prediction: 0% (29th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-34784
- Weakness: CWE-416
- Affected product: Quickjs Project Quickjs
- Published:
- Last modified:
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)
- cpe:2.3:a:quickjs_project:quickjs:*:*:*:*:*:*:*:*
More vulnerabilities in Quickjs Project Quickjs
- CVE-2025-62496 — High (CVSS 8.8): A vulnerability exists in the QuickJS engine's BigInt string parsing logic (js_bigint_from_string) when attempting to…
- CVE-2025-62495 — High (CVSS 8.8): An integer overflow vulnerability exists in the QuickJS regular expression engine (libregexp) due to an inconsistent…
- CVE-2025-62494 — High (CVSS 8.8): A type confusion vulnerability exists in the handling of the string addition (+) operation within the QuickJS engine.…
- CVE-2025-62491 — High (CVSS 8.8): A Use-After-Free (UAF) vulnerability exists in the QuickJS engine's standard library when iterating over the global…
- CVE-2025-69654 — High (CVSS 7.5): A crafted JavaScript input executed with the QuickJS release 2025-09-13, fixed in commit…
- CVE-2023-48183 — High (CVSS 7.5): QuickJS before c4cdd61 has a build_for_in_iterator NULL pointer dereference because of an erroneous lexical scope of…
All CVEs affecting Quickjs Project Quickjs →
Other CWE-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…