CVE Explorer
CVE-2025-62494
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://bellard.org/quickjs/","defaultStatus":"unaffected","packageName":"JS_ConcatStringInPlace","product":"QuickJS","vendor":"QuickJS","versions":[{"lessThan":"2025-09-13","status":"affected","version":"2025-04-26","versionType":"date"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:31b1319a6f9eb7dc6dcd58a567a121b0e69e472fe7e0d639f5f40831bd1022d6 · sha256:653b9569626225e5… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"ADJACENT","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact"…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:31b1319a6f9eb7dc6dcd58a567a121b0e69e472fe7e0d639f5f40831bd1022d6 · sha256:653b9569626225e5… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-704","description":"CWE-704 Incorrect Type Conversion or Cast","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:31b1319a6f9eb7dc6dcd58a567a121b0e69e472fe7e0d639f5f40831bd1022d6 · sha256:653b9569626225e5… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://bellard.org/quickjs/Changelog"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:31b1319a6f9eb7dc6dcd58a567a121b0e69e472fe7e0d639f5f40831bd1022d6 · sha256:653b9569626225e5… · /containers/cna/references/0
{"url":"https://issuetracker.google.com/434193023"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:31b1319a6f9eb7dc6dcd58a567a121b0e69e472fe7e0d639f5f40831bd1022d6 · sha256:653b9569626225e5… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.