CVE-2024-13903 Details
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.
A stack-based buffer overflow vulnerability has been identified in QuickJS versions prior to 0.8.0. The issue arises in the function JS_GetRuntime within the file quickjs.c, part of the qjs component. This vulnerability can be exploited remotely, leading to a stack overflow error, particularly when the AddressSanitizer is active.
Users are advised to upgrade to QuickJS version 0.9.0, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff | [email protected] | Patch |
| https://github.com/quickjs-ng/quickjs/issues/775 | [email protected] | ExploitIssue Tracking |
| https://github.com/quickjs-ng/quickjs/releases/tag/v0.9.0 | [email protected] | Release Notes |
| https://vuldb.com/?ctiid.300571 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.300571 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.517394 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| quickjs-ng quickjs | < 0.9.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 24, 2025 | Initial Analysis | [email protected] |
| Mar 21, 2025 | New CVE Received | [email protected] |