{"id":"CVE-2026-3979","summary":"quickjs-ng quickjs quickjs.c js_iterator_concat_return use after free","details":"A flaw has been found in quickjs-ng quickjs up to 0.12.1. This affects the function js_iterator_concat_return of the file quickjs.c. This manipulation causes use after free. The attack requires local access. The exploit has been published and may be used. Patch name: daab4ad4bae4ef071ed0294618d6244e92def4cd. Applying a patch is the recommended action to fix this issue.","modified":"2026-08-12T16:23:57.514808Z","published":"2026-03-12T03:32:14.860Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-119","CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3979.json"},"references":[{"type":"WEB","url":"https://github.com/quickjs-ng/quickjs/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3979.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3979"},{"type":"ADVISORY","url":"https://vuldb.com/?id.350414"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.769600"},{"type":"REPORT","url":"https://github.com/quickjs-ng/quickjs/issues/1368"},{"type":"REPORT","url":"https://github.com/quickjs-ng/quickjs/issues/1368#issue-4004680962"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.350414"},{"type":"FIX","url":"https://github.com/quickjs-ng/quickjs/commit/daab4ad4bae4ef071ed0294618d6244e92def4cd"},{"type":"FIX","url":"https://github.com/quickjs-ng/quickjs/pull/1370"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/quickjs-ng/quickjs","events":[{"introduced":"db870fd4619bf8c659cf85dd092101ea2a1a8a07"},{"fixed":"daab4ad4bae4ef071ed0294618d6244e92def4cd"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0.12.0"},{"last_affected":"0.12.0"},{"introduced":"0.12.1"},{"last_affected":"0.12.1"}]}}],"versions":["0.12.0","0.12.1","v0.12.1","v0.12.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3979.json","vanir_signatures_modified":"2026-08-12T16:23:57Z","vanir_signatures":[{"source":"https://github.com/quickjs-ng/quickjs/commit/daab4ad4bae4ef071ed0294618d6244e92def4cd","target":{"file":"quickjs.c","function":"js_iterator_concat_return"},"deprecated":false,"digest":{"function_hash":"230536989381960940336023691743095805747","length":786},"id":"CVE-2026-3979-1854d883","signature_type":"Function","signature_version":"v1"},{"digest":{"line_hashes":["301286445733633105478528541740594711863","85104619995533220958437685240232835921","221517156546039221881911438746365139834","118199334696509644070484373721389146586","228899262248462652499761738676445631239","50944739852877348565986046444610209575","96892545259203819775449922083888496111","314240493682393923678887479567467512933","214653219760447087888356191352120869268"],"threshold":0.9},"id":"CVE-2026-3979-a7b8e35f","signature_type":"Line","signature_version":"v1","source":"https://github.com/quickjs-ng/quickjs/commit/daab4ad4bae4ef071ed0294618d6244e92def4cd","target":{"file":"quickjs.c"},"deprecated":false}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}]}