{"id":"CVE-2025-46687","aliases":["CVE-2025-46687"],"related":[],"kind":"vulnerability","state":"published","title":"quickjs-ng through 0.9.0 has a missing length check in JSReadString for a string, leading to a heap-based buffer overflow.","summary":"quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.","source":"cvelist"},{"lang":"es","text":"En quickjs-ng hasta la versión 0.9.0, falta la comprobación de longitud de una cadena en JS_ReadString, lo que provoca un desbordamiento de búfer en el montón. Las versiones de QuickJS anteriores al 26/04/2025 también se ven afectadas.","source":"nvd"}],"published":"2025-04-27T00:00:00.000Z","modified":"2026-06-17T09:26:48.947Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2025-04-26","status":"affected"}],"vendor":"QuickJS Project","product":"QuickJS","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2025-04-26"}],"vendor":"bellard","product":"quickjs","cpe":"cpe:2.3:a:bellard:quickjs:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"0.9.0"}],"vendor":"quickjs-ng","product":"quickjs","cpe":"cpe:2.3:a:quickjs-ng:quickjs:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/quickjs-ng/quickjs/issues/1018","tags":["exploit","issue-tracking","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/quickjs-ng/quickjs/pull/1020","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bellard/quickjs/issues/399","tags":["exploit","issue-tracking","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://bellard.org/quickjs/Changelog","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-28T15:56:52.032Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-46687","url":"https://www.cve.org/CVERecord?id=CVE-2025-46687","licence":"CVE Terms of Use","modified":"2025-04-28T16:19:35.018Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-46687","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46687","licence":"Public domain","modified":"2026-06-17T09:26:48.947Z"}],"updatedAt":"2026-11-25T22:58:56.966Z","epss":{"score":0.0031,"percentile":0.25676,"date":"2026-12-01T12:00:22.000Z"}}