CVE-2025-46687

HIGH EPSS 15.9%
Published Apr 27, 20251y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
High
Find Similar
Published Apr 27, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

Description

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
15.9% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-770

Affected Products 2

VendorProductVersionRange
bellardquickjs* <2025-04-26
quickjs-ngquickjs* ≤0.9.0

References 6

  • bellard.org https://bellard.org/quickjs/Changelog
    Release Notes
  • github.com https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a
    Patch
  • github.com https://github.com/bellard/quickjs/issues/399
    ExploitIssue TrackingVendor Advisory
  • github.com https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465
    Patch
  • github.com https://github.com/quickjs-ng/quickjs/issues/1018
    ExploitIssue TrackingVendor Advisory
  • github.com https://github.com/quickjs-ng/quickjs/pull/1020
    Issue TrackingPatch

Remediation

  • github.com https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a
    Patch
  • github.com https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465
    Patch
  • github.com https://github.com/quickjs-ng/quickjs/pull/1020
    Issue TrackingPatch