Vulnerability · Published Jan 10, 2026 · Assigned by VulDB
CVE-2026-0821quickjs-ng quickjs quickjs.c js_typed_array_constructor heap-based overflow
High 7.3
In plain English
A high-severity heap buffer overflow in quickjs from quickjs-ng. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | quickjs-ng | 0.11.0-r1 | ALPINE-CVE-2026-0821 |
| Alpine:v3.24 | quickjs-ng | 0.11.0-r2 | ALPINE-CVE-2026-0821 |
| Debian:13 | quickjs | no fix listed | DEBIAN-CVE-2026-0821 |
| Debian:14 | quickjs | no fix listed | DEBIAN-CVE-2026-0821 |
| Ubuntu:25.10 | quickjs | no fix listed | UBUNTU-CVE-2026-0821 |
| Ubuntu:26.04:LTS | quickjs | no fix listed | UBUNTU-CVE-2026-0821 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| quickjs-ng | quickjs | 0.10.20.30.40.50.60.70.8 |
Weakness: CWE-122, CWE-119 · 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
References
- VDB-340355 | quickjs-ng quickjs quickjs.c js_typed_array_constructor heap-based overflow vdb-entry, technical-description
- VDB-340355 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #731780 | quickjs-ng quickjs v0.11.0 Heap-based Buffer Overflow third-party-advisory
- https://github.com/quickjs-ng/quickjs/issues/1296 issue-tracking
- https://github.com/quickjs-ng/quickjs/pull/1299 issue-tracking
- https://github.com/quickjs-ng/quickjs/issues/1296#issue-3780003395 exploit, issue-tracking
- https://github.com/quickjs-ng/quickjs/commit/c5d80831e51e48a83eab16ea867be87f091783c5 patch
- https://github.com/quickjs-ng/quickjs/ product