CVE-2025-62490

Use-after-free in js_print_object in QuickJS

HIGH
8.8
CVSS Score
Published: October 16, 2025 at 03:51 PM UTC
Updated: October 19, 2026 at 04:10 PM UTC
1 product affected across 1 vendorQuickJS

Using QuickJS by QuickJS?

Get instant alerts when new vulnerabilities affect QuickJS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2025-09-132025-4-26
Affected range stops below 2025-09-13, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (2)

Release Notes
Source: cverecord
https://bellard.org/quickjs/Changelog
ExploitIssue Tracking
Source: cverecord
https://issuetracker.google.com/434196651

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHGoogle
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card