Security Resilience

CVE-2025-62494

Quickjs Project Quickjs ≤ 2025-09-13

Public PoC
Published
16 October 2025
Modified
19 October 2026
CVSS Score v4 7.1
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0053 45th percentile
Risk Priority 55 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-62494 is a high-severity Incorrect Type Conversion or Cast (CWE-704) vulnerability in Quickjs Project Quickjs. Its CVSS base score is 7.1 (High).

Operationally, ranked at the 45th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-48183Same product: Quickjs Project Quickjs
CVE-2025-62496Same product: Quickjs Project Quickjs
CVE-2025-69654Same product: Quickjs Project Quickjs
CVE-2025-62493Same product: Quickjs Project Quickjs
CVE-2025-62495Same product: Quickjs Project Quickjs
CVE-2023-31922Same product: Quickjs Project Quickjs
CVE-2025-62490Same product: Quickjs Project Quickjs
CVE-2025-62492Same product: Quickjs Project Quickjs
CVE-2025-69653Same product: Quickjs Project Quickjs
CVE-2025-62491Same product: Quickjs Project Quickjs

Affected Assets

quickjs project
quickjs
≤ 2025-09-13

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation (static analysis, fuzzing, unit tests) directly finds incorrect type conversions or casts.

Requiring documented development standards and tools can mandate safe typing, casting rules, and compiler checks that stop the weakness from being introduced.

Security engineering principles can require type-safe design and casting practices that structurally avoid incorrect conversions.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can uncover type-conversion defects before release.

prevents

Secure coding standards directly forbid or detect incorrect type casts.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-704, a class-level weakness, and none of its children carries one either.

References