{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-62494","published":"2025-10-16T16:15:39.943000Z","last_modified":"2026-10-19T16:10:00.260000Z","status":"Analyzed","cvss":{"version":"4.0","score":7.1,"severity":"HIGH","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"cve-coordination@google.com","primary":false},"auth":true,"cwes":["CWE-704"],"cpes":[{"criteria":"cpe:2.3:a:quickjs_project:quickjs:*:*:*:*:*:*:*:*","part":"a","vendor":"quickjs_project","product":"quickjs","version_end_excluding":"2025-09-13"}],"cpes_truncated":false,"vendors":["quickjs_project"],"products":["quickjs_project/quickjs"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2025-62494/","html_en":"/en/cve/CVE-2025-62494/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-62494","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-62494"},"untrusted":{"vendor_name":"Quickjs Project","product_name":"Quickjs","desc_en":"A type confusion vulnerability exists in the handling of the string addition (+) operation within the QuickJS engine.\n\n  *  The code first checks if the left-hand operand is a string.\n\n\n  *  It then attempts to convert the right-hand operand to a primitive value using JS_ToPrimitiveFree. This conversion can trigger a callback (e.g., toString or valueOf).\n\n\n  *  During this callback, an attacker can modify the type of the left-hand operand in memory, changing it from a string to a different type (e.g., an object or an array).\n\n\n  *  The code then proceeds to call JS_ConcatStringInPlace, which still treats the modified left-hand value as a string.\n\n\nThis mismatch between the assumed type (string) and the actual type allows an attacker to control the data structure being processed by the concatenation logic, resulting in a type confusion condition. This can lead to out-of-bounds memory access, potentially resulting in memory corruption and arbitrary code execution in the context of the QuickJS runtime.","affected":[{"untrusted_vendor":"QuickJS","untrusted_product":"QuickJS","versions":[]}],"references":[{"url":"https://bellard.org/quickjs/Changelog","tags":["Release Notes"]},{"url":"https://issuetracker.google.com/434193023","tags":["Exploit","Issue Tracking"]}]}}