CVE-2025-46687

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:bellard:quickjs:*:*:*:*:*:*:*:*
cpe:2.3:a:quickjs-ng:quickjs:*:*:*:*:*:*:*:*

History

14 Jan 2026, 17:30

Type Values Removed Values Added
CPE cpe:2.3:a:quickjs-ng:quickjs:*:*:*:*:*:*:*:*
cpe:2.3:a:bellard:quickjs:*:*:*:*:*:*:*:*
First Time Quickjs-ng quickjs
Bellard quickjs
Bellard
Quickjs-ng
References () https://bellard.org/quickjs/Changelog - () https://bellard.org/quickjs/Changelog - Release Notes
References () https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a - () https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a - Patch
References () https://github.com/bellard/quickjs/issues/399 - () https://github.com/bellard/quickjs/issues/399 - Exploit, Issue Tracking, Vendor Advisory
References () https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465 - () https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465 - Patch
References () https://github.com/quickjs-ng/quickjs/issues/1018 - () https://github.com/quickjs-ng/quickjs/issues/1018 - Exploit, Issue Tracking, Vendor Advisory
References () https://github.com/quickjs-ng/quickjs/pull/1020 - () https://github.com/quickjs-ng/quickjs/pull/1020 - Issue Tracking, Patch

29 Apr 2025, 13:52

Type Values Removed Values Added
Summary
  • (es) En quickjs-ng hasta la versión 0.9.0, falta la comprobación de longitud de una cadena en JS_ReadString, lo que provoca un desbordamiento de búfer en el montón. Las versiones de QuickJS anteriores al 26/04/2025 también se ven afectadas.

27 Apr 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-04-27 20:15

Updated : 2026-01-14 17:30


NVD link : CVE-2025-46687

Mitre link : CVE-2025-46687

CVE.ORG link : CVE-2025-46687


JSON object : View

Products Affected

quickjs-ng

  • quickjs

bellard

  • quickjs
CWE
CWE-770

Allocation of Resources Without Limits or Throttling