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

Vulnerability class: Buffer Overflow

EPSS: 0.007 (47.9th 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

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-13903?
CVE-2024-13903 is a medium-severity vulnerability in Quickjs-Ng Quickjs, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. 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.