# CVE-2024-13903: quickjs-ng QuickJS qjs quickjs.c JS_GetRuntime stack-based overflow

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-03-21T07:00:14.647Z
- Modified: 2026-06-17T07:02:57.640Z
- Weaknesses: CWE-119, CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- quickjs-ng QuickJS: 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8; before 0.9.0

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://vuldb.com/?submit.517394> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/quickjs-ng/quickjs/issues/775> (exploit, issue-tracking)
- <https://vuldb.com/?id.300571> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.300571> (permissions-required, signature, vdb-entry)
- <https://github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff> (patch)
- <https://github.com/quickjs-ng/quickjs/releases/tag/v0.9.0> (patch, release-notes)

## Sources

- CVE List: [CVE-2024-13903](https://www.cve.org/CVERecord?id=CVE-2024-13903), CVE Terms of Use, modified 2025-03-21
- NVD: [CVE-2024-13903](https://nvd.nist.gov/vuln/detail/CVE-2024-13903), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-13903 · Whole record: https://cve.day/CVE-2024-13903.json · Rebuilt by cve.day 2026-11-25T22:58:52.421Z
