Incorrect Calculation of Buffer Size Affecting quickjs package, versions <2025.04.26-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-QUICKJS-9833941
  • published28 Apr 2025
  • disclosed27 Apr 2025

Introduced: 27 Apr 2025

CVE-2025-46688  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Debian:13 quickjs to version 2025.04.26-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream quickjs package and not the quickjs package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1