CVEvulnerability

CVE-2025-46687

7.8 HIGH Published 2025-04-27 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-04-27
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.6 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-770

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.

Affected configurations

• bellard quickjs (< 2025-04-26) • quickjs-ng quickjs (<= 0.9.0)

Related

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

Referenced by CWE · observed example (4)

  • CWE-122 Heap-based Buffer Overflow weakness
  • CWE-1284 Improper Validation of Specified Quantity in Input weakness
  • CWE-131 Incorrect Calculation of Buffer Size weakness
  • CWE-190 Integer Overflow or Wraparound weakness

References