{"id":"CVE-2025-46688","aliases":["CVE-2025-46688"],"related":[],"kind":"vulnerability","state":"published","title":"quickjs-ng through 0.9.0 has an incorrect size calculation in JSReadBigInt for a BigInt, leading to a heap-based buffer overflow.","summary":"quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt, 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 an incorrect size calculation in JS_ReadBigInt for a BigInt, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.","source":"cvelist"},{"lang":"es","text":"Las versiones quickjs-ng hasta la 0.9.0 tienen un cálculo de tamaño incorrecto en JS_ReadBigInt para un BigInt, lo que provoca un desbordamiento de búfer basado en el montón. Las versiones 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:49.080Z","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:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":["CWE-131"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2025-04-26","status":"affected"}],"vendor":"QuickJS Project","product":"QuickJS","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.9.0"}],"vendor":"quickjs-ng","product":"quickjs","cpe":"cpe:2.3:a:quickjs-ng:quickjs:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"2025-04-26"}],"vendor":"quickjs_project","product":"quickjs","cpe":"cpe:2.3:a:quickjs_project:quickjs:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/quickjs-ng/quickjs/issues/1018","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/quickjs-ng/quickjs/pull/1020","tags":["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","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://bellard.org/quickjs/Changelog","tags":["product"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-28T15:53:42.347Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-46688","url":"https://www.cve.org/CVERecord?id=CVE-2025-46688","licence":"CVE Terms of Use","modified":"2025-04-28T16:19:28.938Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-46688","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46688","licence":"Public domain","modified":"2026-06-17T09:26:49.080Z"}],"updatedAt":"2026-11-25T22:58:56.967Z","epss":{"score":0.00331,"percentile":0.28333,"date":"2026-12-01T12:00:22.000Z"}}