CVE-2025-46688 Details
Description
quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.
A heap-based buffer overflow vulnerability has been identified in quickjs-ng versions through 0.9.0. The issue arises from an incorrect size calculation in the BigInt reading function, JS_ReadBigInt, which leads to the allocation of insufficient memory. This flaw allows for writing beyond the allocated buffer, creating a potential security risk.
Users can update to quickjs-ng version 0.9.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-131 | Incorrect Calculation of Buffer Size | [email protected] |
| CWE-131 | Incorrect Calculation of Buffer Size | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| quickjs-ng quickjs | <= 0.9.0 |
CPE
Remediation
| |
| quickjs project quickjs | < 2025-04-26 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 30, 2025 | Initial Analysis | [email protected] |
| Apr 28, 2025 | CVE Modified | CISA-ADP |
| Apr 27, 2025 | New CVE Received | [email protected] |