Vulnerability · Published Jan 10, 2026 · Assigned by VulDB
CVE-2026-0822quickjs-ng quickjs quickjs.c js_typed_array_sort heap-based overflow
Medium 6.3
In plain English
A medium-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 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was identified in quickjs-ng quickjs up to 0.11.0. This issue affects the function js_typed_array_sort of the file quickjs.c. The manipulation leads to heap-based buffer overflow. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. The identifier of the patch is 53eefbcd695165a3bd8c584813b472cb4a69fbf5. To fix this issue, it is recommended to deploy a patch.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | quickjs-ng | 0.11.0-r1 | ALPINE-CVE-2026-0822 |
| Alpine:v3.24 | quickjs-ng | 0.11.0-r2 | ALPINE-CVE-2026-0822 |
| Debian:13 | quickjs | no fix listed | DEBIAN-CVE-2026-0822 |
| Debian:14 | quickjs | no fix listed | DEBIAN-CVE-2026-0822 |
| Ubuntu:25.10 | quickjs | no fix listed | UBUNTU-CVE-2026-0822 |
| Ubuntu:26.04:LTS | quickjs | no fix listed | UBUNTU-CVE-2026-0822 |
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:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-340356 | quickjs-ng quickjs quickjs.c js_typed_array_sort heap-based overflow vdb-entry, technical-description
- VDB-340356 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #731783 | quickjs-ng quickjs v0.11.0 Heap-based Buffer Overflow third-party-advisory
- https://github.com/quickjs-ng/quickjs/issues/1297 issue-tracking
- https://github.com/quickjs-ng/quickjs/pull/1298 issue-tracking
- https://github.com/quickjs-ng/quickjs/issues/1297#issue-3780006202 exploit, issue-tracking
- https://github.com/quickjs-ng/quickjs/commit/53eefbcd695165a3bd8c584813b472cb4a69fbf5 patch
- https://github.com/quickjs-ng/quickjs/ product