PT-2025-42493 · Quickjs+1 · Quickjs+1

Published

2025-10-16

·

Updated

2025-10-17

·

CVE-2025-62496

CVSS v3.1

8.8

High

VectorAV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions QuickJS (affected versions not specified)
Description A flaw exists in the QuickJS engine’s BigInt string parsing logic within the js bigint from string function when creating a BigInt from a string containing a very large number of digits. The function calculates the required number of bits using a formula that can cause an Integer Overflow for large input strings. This results in an underestimated memory allocation for the BigInt object, leading to a Heap Out-of-Bounds Write when the data is written to the r->tab array. The formula used for calculation is: n bits = (n digits * 27 + 7) / 8 (for radix 10).
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-62496

Affected Products

Debian
Quickjs