CVE-2025-46687
HIGHCVSS 7.8/10EPSS 0.24%
Last modified
CVE-2025-46687 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Bellard | Quickjs | < 2025-04-26 |
| Quickjs-Ng | Quickjs | <= 0.9.0 |
References
- https://bellard.org/quickjs/ChangelogRelease Notes
- https://github.com/bellard/quickjs/issues/399Exploit, Issue Tracking, Vendor Advisory
- https://github.com/quickjs-ng/quickjs/issues/1018Exploit, Issue Tracking, Vendor Advisory
- https://github.com/quickjs-ng/quickjs/pull/1020Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is 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.
How severe is CVE-2025-46687?
CVE-2025-46687 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.24% probability of exploitation in the next 30 days.
How do I fix CVE-2025-46687?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2025-46687?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
