SEVERITY AND EXPLOITATION CONTEXT

CVE-2025-62494: Type confusion in string addition in QuickJS

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

Type confusion in string addition in QuickJS

A type confusion vulnerability exists in the handling of the string addition (+) operation within the QuickJS engine. * The code first checks if the left-hand operand is a string. * 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). * 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). * The code then proceeds to call JS_ConcatStringInPlace, which still treats the modified left-hand value as a string. This 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.

Published CVE snapshot: 2026-10-22. Record last updated: 2025-10-16T17:46:39.174Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

Google · CVSS 4.0: 7.1 High

Calculated from the published vector. Base score: 7.1. Provider-reported Base score: 7.1.

Vector and metric explanationsCVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
MetricValueMeaning
Attack vector (AV)AThe attacker must share a restricted network context, such as a local segment or an adjacent protocol network.
Attack complexity (AC)HExploitation depends on overcoming a specific security-enhancing condition, such as defeating a mitigation.
Attack requirements (AT)PA specific deployment or execution condition is necessary, such as winning a race or gaining an on-path position.
Privileges required (PR)LThe attacker needs basic user capabilities before exploitation.
User interaction (UI)PA targeted user interacts in a limited or involuntary way, such as rendering attacker-controlled content.
Confidentiality (VC)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (VI)HIntegrity is completely lost, or modification has a direct, serious consequence.
Availability (VA)LAvailability is degraded or interrupted to a limited degree.
Confidentiality (SC)HHigh impact is established in a system beyond the vulnerable system. Document the affected system and consequence.
Integrity (SI)HHigh impact is established in a system beyond the vulnerable system. Document the affected system and consequence.
Availability (SA)LLimited impact is established in a system beyond the vulnerable system.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • QuickJS · QuickJS

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (2)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2025 · All published CVEs · Calculation methodology