{"id":"CVE-2026-0821","summary":"quickjs-ng quickjs quickjs.c js_typed_array_constructor heap-based overflow","details":"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.","modified":"2026-08-12T15:31:09.679752Z","published":"2026-01-10T13:02:07.698Z","database_specific":{"cwe_ids":["CWE-119","CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0821.json","cna_assigner":"VulDB"},"references":[{"type":"WEB","url":"https://github.com/quickjs-ng/quickjs/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0821.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0821"},{"type":"ADVISORY","url":"https://vuldb.com/?id.340355"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.731780"},{"type":"REPORT","url":"https://github.com/quickjs-ng/quickjs/issues/1296"},{"type":"REPORT","url":"https://github.com/quickjs-ng/quickjs/issues/1296#issue-3780003395"},{"type":"REPORT","url":"https://github.com/quickjs-ng/quickjs/pull/1299"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.340355"},{"type":"FIX","url":"https://github.com/quickjs-ng/quickjs/commit/c5d80831e51e48a83eab16ea867be87f091783c5"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/quickjs-ng/quickjs","events":[{"introduced":"0"},{"fixed":"c5d80831e51e48a83eab16ea867be87f091783c5"}],"database_specific":{"cpe":"cpe:2.3:a:quickjs-ng:quickjs:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.11.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["0.1","0.10","0.11.0","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","v0.11.0","v0.10.1","v0.10.0","v0.9.0","v0.8.0","v0.7.0","v0.6.1","v0.6.0","v0.5.0","v0.4.1","v0.4.0","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-0821.json","vanir_signatures_modified":"2026-08-12T15:31:09Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/quickjs-ng/quickjs/commit/c5d80831e51e48a83eab16ea867be87f091783c5","target":{"file":"quickjs.c"},"deprecated":false,"digest":{"line_hashes":["156966015778241022997155822889589072122","327637216839275509669170862799182210209","20361890462439713804690032294639562237","236119915891077895144408613444768543000"],"threshold":0.9},"id":"CVE-2026-0821-748b75a9","signature_type":"Line"},{"target":{"file":"quickjs.c","function":"js_typed_array_constructor"},"deprecated":false,"digest":{"function_hash":"284441466894633094989861512996126270919","length":1800},"id":"CVE-2026-0821-f21fd842","signature_type":"Function","signature_version":"v1","source":"https://github.com/quickjs-ng/quickjs/commit/c5d80831e51e48a83eab16ea867be87f091783c5"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}