Home / quickjs-ng / QuickJS / CVE-2024-13903
CVE-2024-13903: is it exploited, and which versions of quickjs-ng QuickJS are affected and fixed?
CVE-2024-13903 is a stack buffer overflow vulnerability in quickjs-ng QuickJS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: QuickJS 0.1, QuickJS 0.2, QuickJS 0.3 and 5 more (CVE record by VulDB). Fixed in 0.9.0 (NVD). Severity: Medium (5.3, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2024-13903?
quickjs-ng QuickJS qjs quickjs.c JS_GetRuntime stack-based overflow
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.
From the CVE record by VulDB, last updated March 21, 2025, 12:31 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| quickjs-ng | QuickJS | 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 |
As the CVE record by VulDB states it, last updated March 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| quickjs-ng | quickjs | before 0.9.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:02 UTC.
How severe is CVE-2024-13903?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | VulDB |
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | VulDB |
| Medium 4.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | VulDB |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | VulDB |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-13903 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 21, 2025)
- EPSS
- 0.72% probability of exploitation activity in the next 30 days, percentile 55.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-121 Stack-based Buffer Overflow
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and 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 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
Who found and reported it?
- Haoxin Tu (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 23, 2025
- Published
- March 21, 2025, 07:00 UTC
- CVE record updated
- March 21, 2025, 12:31 UTC by VulDB
- NVD
- Analyzed, last modified June 17, 2026, 07:02 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect QuickJS?
- Mar 12, 2026CVE-2026-3979 quickjs-ng quickjs: use after free
- Jan 19, 2026CVE-2026-1145 quickjs-ng quickjs: heap buffer overflow
- Jan 19, 2026CVE-2026-1144 quickjs-ng quickjs: use after free
- Jan 10, 2026CVE-2026-0822 quickjs-ng quickjs: heap buffer overflow
- Jan 10, 2026CVE-2026-0821 quickjs-ng quickjs: heap buffer overflow
Questions about CVE-2024-13903
Is CVE-2024-13903 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.72% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of quickjs-ng QuickJS are affected by CVE-2024-13903?
QuickJS 0.1, QuickJS 0.2, QuickJS 0.3, QuickJS 0.4, QuickJS 0.5, QuickJS 0.6 and 2 more, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2024-13903?
0.9.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-13903?
Medium (5.3, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2024-13903?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.