Description
A vulnerability was determined in quickjs-ng quickjs up to 0.11.0. This vulnerability affects the function js_typed_array_constructor of the file quickjs.c. Executing a manipulation can lead to heap-based buffer overflow. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized. This patch is called c5d80831e51e48a83eab16ea867be87f091783c5. A patch should be applied to remediate this issue.
Published: 2026-01-10
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Heap-based Buffer Overflow
Action: Apply Patch
AI Analysis

Impact

The flaw occurs in the js_typed_array_constructor function of the QuickJS JavaScript engine, where a crafted manipulation can create a heap-based buffer overflow. This overflow can corrupt memory and may enable an attacker to execute arbitrary code, although the description does not explicitly state an execution failure. The vulnerability is exploitable remotely and has been publicly disclosed.

Affected Systems

QuickJS from quickjs-ng is affected, specifically all releases up to and including version 0.11.0. No other vendor or product versions are listed in the CNA data.

Risk and Exploitability

The CVSS base score of 6.9 indicates a moderate to high severity, while the EPSS score of less than 1% shows that active exploitation is presently rare. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Attackers can likely invoke the flaw remotely by sending specially crafted data to the typed array constructor, leading to heap corruption and potentially code execution if memory is abused.

Generated by OpenCVE AI on April 18, 2026 at 07:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch identified by commit c5d80831e51e48a83eab16ea867be87f091783c5 or upgrade to QuickJS 0.11.1 or later.
  • If a patch or upgrade cannot be applied promptly, ensure that all input routed to js_typed_array_constructor is validated or sanitized to prevent malformed data from reaching the vulnerable path.
  • Run the QuickJS engine with memory limits and additional hardening such as SELinux or AppArmor profiles to contain any potential memory corruption impact.

Generated by OpenCVE AI on April 18, 2026 at 07:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 23 Feb 2026 08:45:00 +0000

Type Values Removed Values Added
References

Thu, 15 Jan 2026 22:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:quickjs-ng:quickjs:*:*:*:*:*:*:*:*

Mon, 12 Jan 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 12 Jan 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Quickjs-ng
Quickjs-ng quickjs
Vendors & Products Quickjs-ng
Quickjs-ng quickjs

Sun, 11 Jan 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Sat, 10 Jan 2026 13:15:00 +0000

Type Values Removed Values Added
Description A vulnerability was determined in quickjs-ng quickjs up to 0.11.0. This vulnerability affects the function js_typed_array_constructor of the file quickjs.c. Executing a manipulation can lead to heap-based buffer overflow. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized. This patch is called c5d80831e51e48a83eab16ea867be87f091783c5. A patch should be applied to remediate this issue.
Title quickjs-ng quickjs quickjs.c js_typed_array_constructor heap-based overflow
Weaknesses CWE-119
CWE-122
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Quickjs-ng Quickjs
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-02-23T08:27:54.300Z

Reserved: 2026-01-09T18:24:17.150Z

Link: CVE-2026-0821

cve-icon Vulnrichment

Updated: 2026-01-12T14:36:48.964Z

cve-icon NVD

Status : Modified

Published: 2026-01-10T13:15:49.040

Modified: 2026-02-23T09:16:38.123

Link: CVE-2026-0821

cve-icon Redhat

Severity : Important

Publid Date: 2026-01-10T13:02:07Z

Links: CVE-2026-0821 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T07:15:25Z

Weaknesses