Vulnerabilities / CVE-2026-0821

critical

CVE-2026-0821

quickjs-ng: quickjs-ng: Heap-based buffer overflow in js_typed_array_constructor function

Published Modified CWE 119, 122
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Ubuntu (medium).

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 and fixed versions

SourcePackageFixed in
alpine 3.23quickjs-ng0.11.0-r1
alpine 3.24quickjs-ng0.11.0-r2
alpine edgequickjs-ng0.16.1-r0
debian 13quickjsno fix listed
debian 14quickjsno fix listed
echoquickjsno fix listed
rapidfort debian 12quickjsno fix listed
rapidfort debian 13quickjsno fix listed
rapidfort ubuntu 20.04quickjs0:2025.04.26-1build1
rapidfort ubuntu 22.04quickjs0:2025.04.26-1build1
rapidfort ubuntu 24.04quickjs0:2025.04.26-1build1
ubuntu 24.04quickjsno fix listed
Show all 13 entries from 13 sources
SourcePackageFixed in
alpine 3.23quickjs-ng0.11.0-r1
alpine 3.24quickjs-ng0.11.0-r2
alpine edgequickjs-ng0.16.1-r0
debian 13quickjsno fix listed
debian 14quickjsno fix listed
echoquickjsno fix listed
rapidfort debian 12quickjsno fix listed
rapidfort debian 13quickjsno fix listed
rapidfort ubuntu 20.04quickjs0:2025.04.26-1build1
rapidfort ubuntu 22.04quickjs0:2025.04.26-1build1
rapidfort ubuntu 24.04quickjs0:2025.04.26-1build1
ubuntu 24.04quickjsno fix listed
ubuntu 26.04quickjsno fix listed

References

All 11 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.