QuickJS/QuickJS-ng JS_ReadBigInt buffer size

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.1$0-$5k0.00

Summaryinfo

A vulnerability labeled as problematic has been found in QuickJS and QuickJS-ng. This vulnerability affects the function JS_ReadBigInt. Such manipulation leads to buffer size. This vulnerability is documented as CVE-2025-46688. The attack needs to be performed locally. There is not any exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in QuickJS and QuickJS-ng (the affected version unknown). It has been rated as problematic. Affected by this issue is the function JS_ReadBigInt. The manipulation with an unknown input leads to a buffer size vulnerability. Using CWE to declare the problem leads to CWE-131. The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow. Impacted is confidentiality, integrity, and availability. CVE summarizes:

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.

The advisory is available at github.com. This vulnerability is handled as CVE-2025-46688 since 04/27/2025. The exploitation is known to be difficult. Local access is required to approach this attack. Technical details are known, but there is no available exploit.

Upgrading eliminates this vulnerability. Applying the patch 1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2025-12432). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.2
VulDB Meta Temp Score: 6.1

VulDB Base Score: 4.5
VulDB Temp Score: 4.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.4
NVD Vector: 🔍

CNA Base Score: 5.6
CNA Vector (MITRE): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Buffer size
CWE: CWE-131 / CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Patch: 1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a

Timelineinfo

04/27/2025 🔍
04/28/2025 +1 days 🔍
04/28/2025 +0 days 🔍
05/31/2025 +33 days 🔍

Sourcesinfo

Advisory: 399
Status: Confirmed

CVE: CVE-2025-46688 (🔍)
GCVE (CVE): GCVE-0-2025-46688
GCVE (VulDB): GCVE-100-306386
EUVD: 🔍

Entryinfo

Created: 04/28/2025 07:47
Updated: 05/31/2025 06:04
Changes: 04/28/2025 07:47 (63), 05/25/2025 21:15 (1), 05/31/2025 06:04 (12)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!