CVE-2025-46688
JSON

5.6medium

quickjs-ng through 0.9.0 has an incorrect size calculation in JSReadBigInt for a BigInt, leading to a heap-based buffer overflow.

Severity
5.6medium CVSS:3.1 by mitre
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
QuickJS Project QuickJSbefore 2025-04-26CVE List
quickjs-ng quickjsup to 0.9.0NVD
quickjs_project quickjsbefore 2025-04-26NVD

All scores

mitre5.6medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
NVD8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-131

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Las versiones quickjs-ng hasta la 0.9.0 tienen un cálculo de tamaño incorrecto en JS_ReadBigInt para un BigInt, lo que provoca un desbordamiento de búfer basado en el montón. Las versiones QuickJS anteriores al 26/04/2025 también se ven afectadas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-46688 changed 2025-04-28CVE Terms of Use
NVDCVE-2025-46688 changed 2026-06-17Public domain