Vulnerability · Published Mar 21, 2025 · Assigned by VulDB
CVE-2024-13903quickjs-ng QuickJS qjs quickjs.c JS_GetRuntime stack-based overflow
Medium 4.3
In plain English
A medium-severity stack buffer overflow in QuickJS from quickjs-ng. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities).
Official description
A vulnerability was found in quickjs-ng QuickJS up to 0.8.0. It has been declared as problematic. Affected by this vulnerability is the function JS_GetRuntime of the file quickjs.c of the component qjs. The manipulation leads to stack-based buffer overflow. The attack can be launched remotely. Upgrading to version 0.9.0 is able to address this issue. The patch is named 99c02eb45170775a9a679c32b45dd4000ea67aff. It is recommended to upgrade the affected component.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | quickjs | no fix listed | DEBIAN-CVE-2024-13903 |
| Debian:14 | quickjs | no fix listed | DEBIAN-CVE-2024-13903 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| quickjs-ng | QuickJS | 0.10.20.30.40.50.60.70.8 |
Weakness: CWE-121, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- VDB-300571 | quickjs-ng QuickJS qjs quickjs.c JS_GetRuntime stack-based overflow vdb-entry, technical-description
- VDB-300571 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #517394 | QuickJS Project QuickJS master version https://github.com/quickjs-ng/quickjs/commit/74fd4d7dc90f7ebf07e0bb4c7223d1cb98f8ad78 Stack-based Buffer Overflow third-party-advisory
- https://github.com/quickjs-ng/quickjs/issues/775 issue-tracking
- https://github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff patch
- https://github.com/quickjs-ng/quickjs/releases/tag/v0.9.0 patch