Vulnerability · Published Apr 27, 2025 · Assigned by mitre

CVE-2025-46687

Medium 5.6

In plain English

A medium-severity resource allocation without limits in QuickJS from QuickJS Project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.3%top 76.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23quickjs-ng0.10.0-r0ALPINE-CVE-2025-46687
Alpine:v3.24quickjs-ng0.10.0-r0ALPINE-CVE-2025-46687
Debian:13quickjs2025.04.26-1DEBIAN-CVE-2025-46687
Debian:14quickjs2025.04.26-1DEBIAN-CVE-2025-46687
Ubuntu:25.10quickjsno fix listedUBUNTU-CVE-2025-46687
Ubuntu:26.04:LTSquickjsno fix listedUBUNTU-CVE-2025-46687
Ubuntu:26.10quickjsno fix listedUBUNTU-CVE-2025-46687

Affected products (as reported)

VendorProductVersions
QuickJS Project QuickJS 0 – before 2025-04-26

Weakness: CWE-770 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L

References