{"id":"CVE-2025-46688","aliases":["ALPINE-CVE-2025-46688","DEBIAN-CVE-2025-46688","EUVD-2025-12432","GHSA-2qc3-w5w6-7r8m","UBUNTU-CVE-2025-46688"],"status":"published","title":"quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt, leading...","description":"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.","severity":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00325,"percentile":0.25843,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-131"],"published":"2025-04-27T00:00:00Z","modified":"2026-10-28T10:40:35Z","fixes":[{"ecosystem":"Alpine:v3.23","package":"quickjs-ng","fixed_in":["0.10.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"quickjs-ng","fixed_in":["0.10.0-r0"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"quickjs","fixed_in":["2025.04.26-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"quickjs","fixed_in":["2025.04.26-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.23","package":"quickjs-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"quickjs-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-r0"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"quickjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2025.04.26-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"quickjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2025.04.26-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"quickjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2021.03.27-1","2021.03.27-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"quickjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.01.13-5","2025.04.26-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"quickjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.04.26-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"quickjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.04.26-1","2025.04.26-1build1"]}],"products":[{"vendor":"quickjs project","product":"quickjs"},{"vendor":"quickjs-ng","product":"quickjs"},{"vendor":"quickjs_project","product":"quickjs"}],"references":[{"url":"https://github.com/quickjs-ng/quickjs/issues/1018","tags":["exploit","Third Party Advisory","report"]},{"url":"https://github.com/quickjs-ng/quickjs/pull/1020","tags":["Patch","fix","report"]},{"url":"https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a","tags":["Patch","fix","report"]},{"url":"https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465","tags":["Patch","fix","report"]},{"url":"https://github.com/bellard/quickjs/issues/399","tags":["Exploit","Third Party Advisory","report"]},{"url":"https://bellard.org/quickjs/Changelog","tags":["Product","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46688","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2qc3-w5w6-7r8m"},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-46688","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46688.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-46688","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-46688","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-46688","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-46688","description":"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.","status":"published","published":"2025-04-27T00:00:00Z","modified":"2025-04-28T16:19:28.938Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-131"],"updated_at":"2026-11-02T14:32:36.706507Z"}],"euvd":[{"id":"EUVD-2025-12432","description":"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.","status":"published","published":"2025-04-27T00:00:00Z","modified":"2025-04-28T16:19:28Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:52:02.061871Z"}],"ghsa":[{"id":"GHSA-2qc3-w5w6-7r8m","title":"quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt, leading...","description":"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.","status":"published","published":"2025-04-27T21:34:47Z","modified":"2025-04-27T21:34:53Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-131"],"updated_at":"2026-11-02T15:02:02.838203Z"}],"nvd":[{"id":"CVE-2025-46688","description":"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.","status":"published","published":"2025-04-27T20:15:15.877Z","modified":"2026-06-17T09:26:49.08Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-131"],"updated_at":"2026-11-02T14:11:02.570368Z"}],"osv":[{"id":"ALPINE-CVE-2025-46688","description":"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.","status":"published","published":"2025-04-27T20:15:15.877Z","modified":"2026-08-27T22:18:02.903772346Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:50.269992Z"},{"id":"CVE-2025-46688","description":"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.","status":"published","published":"2025-04-27T00:00:00Z","modified":"2026-10-28T10:40:35.992819562Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-131"],"updated_at":"2026-11-02T15:44:49.707645Z"},{"id":"DEBIAN-CVE-2025-46688","description":"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.","status":"published","published":"2025-04-27T20:15:15.877Z","modified":"2026-09-01T20:05:52.762540974Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:47.378563Z"},{"id":"UBUNTU-CVE-2025-46688","description":"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.","status":"published","published":"2025-04-27T20:15:00Z","modified":"2026-10-17T12:56:52.22264923Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:50.31802Z"}]}}
