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

Publicado

2025-10-16

·

Atualizado

2025-10-17

·

CVE-2025-62496

CVSS v3.1

8.8

Alta

VetorAV: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

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2025-62496

Produtos afetados

Debian
Quickjs