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.
Published:Oct 16, 2025
Last Modified:Oct 30, 2025
EPS:Oct 16, 2025
EPSS Score:0.00021
CVSS Score:8.8
Affected Products
Vendor
Product
Action
Vendor
Quickjs-ng
Product
Quickjs
Quickjs-ng
Quickjs
Vendor
Quickjs Project
Product
Quickjs
Quickjs Project
Quickjs
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
No CAPEC recorded yet
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
