# CVE-2026-0821: quickjs-ng quickjs quickjs.c js_typed_array_constructor heap-based overflow

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- 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.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-01-10T13:02:07.698Z
- Modified: 2026-06-17T10:11:26.557Z
- Weaknesses: CWE-119, CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

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

(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; 0.9; 0.10; 0.11.0; up to 0.11.0

## Every score

- VulDB: CVSS:4.0 6.9 Medium `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`
- VulDB: CVSS:3.1 7.3 High `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`
- VulDB: CVSS:3.0 7.3 High `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`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/quickjs-ng/quickjs/issues/1296> (exploit, issue-tracking, vendor-advisory)
- <https://github.com/quickjs-ng/quickjs/issues/1296#issue-3780003395> (exploit, issue-tracking, vendor-advisory)
- <https://vuldb.com/?id.340355> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.340355> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.731780> (third-party-advisory, vdb-entry)
- <https://github.com/quickjs-ng/quickjs/pull/1299> (issue-tracking)
- <https://github.com/quickjs-ng/quickjs/commit/c5d80831e51e48a83eab16ea867be87f091783c5> (patch)
- <https://github.com/quickjs-ng/quickjs/> (product)

## Sources

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

---

Page: https://cve.day/CVE-2026-0821 · Whole record: https://cve.day/CVE-2026-0821.json · Rebuilt by cve.day 2026-11-25T22:59:12.723Z
