7.5
HIGH
CVE-2024-13903
QuickJS Stack-Based Buffer Overflow Vulnerability
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.

INFO

Published Date :

March 21, 2025, 7:15 a.m.

Last Modified :

March 24, 2025, 2:36 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2024-13903 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Quickjs-ng quickjs
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-13903.

URL Resource
https://github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff Patch
https://github.com/quickjs-ng/quickjs/issues/775 Exploit Issue Tracking
https://github.com/quickjs-ng/quickjs/releases/tag/v0.9.0 Release Notes
https://vuldb.com/?ctiid.300571 Permissions Required VDB Entry
https://vuldb.com/?id.300571 Third Party Advisory VDB Entry
https://vuldb.com/?submit.517394 Exploit Third Party Advisory VDB Entry

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-13903 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-13903 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 24, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:a:quickjs-ng:quickjs:*:*:*:*:*:*:*:* versions up to (excluding) 0.9.0
    Added Reference Type VulDB: https://github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff Types: Patch
    Added Reference Type VulDB: https://github.com/quickjs-ng/quickjs/issues/775 Types: Exploit, Issue Tracking
    Added Reference Type VulDB: https://github.com/quickjs-ng/quickjs/releases/tag/v0.9.0 Types: Release Notes
    Added Reference Type VulDB: https://vuldb.com/?ctiid.300571 Types: Permissions Required, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?id.300571 Types: Third Party Advisory, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?submit.517394 Types: Exploit, Third Party Advisory, VDB Entry
  • New CVE Received by [email protected]

    Mar. 21, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CWE CWE-119
    Added CWE CWE-121
    Added Reference https://github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff
    Added Reference https://github.com/quickjs-ng/quickjs/issues/775
    Added Reference https://github.com/quickjs-ng/quickjs/releases/tag/v0.9.0
    Added Reference https://vuldb.com/?ctiid.300571
    Added Reference https://vuldb.com/?id.300571
    Added Reference https://vuldb.com/?submit.517394
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-13903 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability