Use After Free Affecting bellard/quickjs package, versions [,2025.09.13)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-BELLARDQUICKJS-13611033
  • published17 Oct 2025
  • disclosed16 Oct 2025
  • creditUnknown

Introduced: 16 Oct 2025

NewCVE-2025-62490  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade bellard/quickjs to version 2025.09.13 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the js_print_object() function when printing arrays, maps, or set objects. An attacker can execute arbitrary code or cause a crash by triggering a callback during js_print_value, which can modify the underlying data structures and lead to access of freed memory.

CVSS Base Scores

version 4.0
version 3.1