CVE-2025-46688

April 27, 2025, 8:15 p.m.

5.6
Medium

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.

Product(s) Impacted

Vendor Product Versions
Quickjs-ng
  • Quickjs Ng
  • 0.9.0, *

Weaknesses

Common security weaknesses mapped to this vulnerability.

CWE-131
Incorrect Calculation of Buffer Size
The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.

*CPE(s)

Affected systems and software identified for this CVE.

Type Vendor Product Version Update Edition Language Software Edition Target Software Target Hardware Other Information
a quickjs-ng quickjs_ng 0.9.0 / / / / / / /
a quickjs-ng quickjs_ng / / / / / / / /

CVSS Score

5.6 / 10

CVSS Data - 3.1

  • Attack Vector: LOCAL
  • Attack Complexity: HIGH
  • Privileges Required: NONE
  • Scope: CHANGED
  • Confidentiality Impact: LOW
  • Integrity Impact: LOW
  • Availability Impact: LOW
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L

    View Vector String

Timeline

Published: April 27, 2025, 8:15 p.m.
Last Modified: April 27, 2025, 8:15 p.m.

Status : Received

CVE has been recently published to the CVE List and has been received by the NVD.

More info

Source

cve@mitre.org

*Disclaimer: Some vulnerabilities do not have an associated CPE. To enhance the data, we use AI to infer CPEs based on CVE details. This is an automated process and might not always be accurate.