CVE-2025-46687
HIGH EPSS 15.9%
Published Apr 27, 20251y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
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
Exploitability
Impact
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
| Vendor | Product | Version | Range |
|---|---|---|---|
| bellard | quickjs | * | <2025-04-26 |
| quickjs-ng | quickjs | * | ≤0.9.0 |
References 6
- bellard.org https://bellard.org/quickjs/Changelog
- github.com https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a
- github.com https://github.com/bellard/quickjs/issues/399
- github.com https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465
- github.com https://github.com/quickjs-ng/quickjs/issues/1018
- github.com https://github.com/quickjs-ng/quickjs/pull/1020
Remediation
- github.com https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a
- github.com https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465
- github.com https://github.com/quickjs-ng/quickjs/pull/1020