MEDIUM · 5.6

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.

Vulnerability 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 Score

5.6

MEDIUM

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW

Affected Products

VendorProductVersions
BellardQuickjs< 2025-04-26
Quickjs-NgQuickjs<= 0.9.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2025-46687?

CVE-2025-46687 is a vulnerability with a CVSS score of 5.6 (MEDIUM). 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.

How severe is CVE-2025-46687?

CVE-2025-46687 has been rated MEDIUM with a CVSS base score of 5.6/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2025-46687?

Check the references section above for vendor advisories and patch information. Affected products include: Bellard Quickjs, Quickjs-Ng Quickjs.