{"id":"CVE-2025-62490","published":"2025-10-16T15:51:06Z","modified":"2025-10-16T18:08:20Z","title":"Use-after-free in js_print_object in QuickJS","vendor":"QuickJS","product":"QuickJS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00373,"percentile":0.23192,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://bellard.org/quickjs/Changelog","tags":[]},{"url":"https://issuetracker.google.com/434196651","tags":[]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":4.64},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"quickjs","affectedVersions":[{"vendor":"QuickJS","product":"QuickJS","versions":[">= 2025-04-26, < 2025-09-13"]}],"capec":[{"id":"CAPEC-175","name":"Code Inclusion"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-16T18:07:46.371137Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-34784","exploited":false,"provenance":"source"}}