Buffer overflow in Quickjs-ng Quickjs
CVE-2024-13903
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-base…
Vulnerability class: Buffer Overflow
EPSS: 0.002 (38.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
Affected products
- Quickjs-ng Quickjs — versions 0.1, 0.2, 0.3
Weakness classification (CWE)
Public proof-of-concept exploits
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)
- github.com/quickjs-ng/quickjs/issues/775 (issue-tracking)
- github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff (patch)
- github.com/quickjs-ng/quickjs/releases/tag/v0.9.0 (patch)
Frequently asked questions
- What is CVE-2024-13903?
- CVE-2024-13903 is a medium-severity vulnerability in Quickjs-ng Quickjs, classified under Stack-based Buffer Overflow. CVSS score: 4.3/10. Published 2025-03-21.
- How severe is CVE-2024-13903?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2024-13903 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.