Skip to content
OpenAdvisories
Medium · 5.6 CVE-2025-46687 EUVD-2025-12428GHSA-hrc5-3jpv-g9x2

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 …

Published Apr 27, 2025 · Updated Apr 28, 2025 · Assigned by mitre

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 products

VendorProductAffectedFixed
QuickJS Project QuickJS < 2025-04-26 2025-04-26

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 quickjs 2025.04.26-1 —
Debian 13 quickjs 2025.04.26-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 quickjs No fix yet —
Ubuntu 26.04 LTS quickjs No fix yet —
Ubuntu 25.10 quickjs No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS quickjs No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 quickjs-ng 0.10.0-r0 —
Alpine v3.23 quickjs-ng 0.10.0-r0 —

References