{"id":"CVE-2025-46687","aliases":["ALPINE-CVE-2025-46687","DEBIAN-CVE-2025-46687","EUVD-2025-12428","GHSA-hrc5-3jpv-g9x2","UBUNTU-CVE-2025-46687"],"status":"published","title":"quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a...","description":"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.","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-10","score":0.00304,"percentile":0.23366,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-770"],"published":"2025-04-27T00:00:00Z","modified":"2026-10-28T10:45:27Z","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":"bellard","product":"quickjs"},{"vendor":"quickjs project","product":"quickjs"},{"vendor":"quickjs-ng","product":"quickjs"}],"references":[{"url":"https://github.com/quickjs-ng/quickjs/issues/1018","tags":["Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://github.com/quickjs-ng/quickjs/pull/1020","tags":["Issue Tracking","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","Issue Tracking","Vendor Advisory","report"]},{"url":"https://bellard.org/quickjs/Changelog","tags":["Release Notes","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46687","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hrc5-3jpv-g9x2"},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-46687","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46687.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-46687","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-46687","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-46687","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-46687","description":"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.","status":"published","published":"2025-04-27T00:00:00Z","modified":"2025-04-28T16:19:35.018Z","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-770"],"updated_at":"2026-11-02T14:32:36.706507Z"}],"euvd":[{"id":"EUVD-2025-12428","description":"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.","status":"published","published":"2025-04-27T00:00:00Z","modified":"2025-04-28T16:19:35Z","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-hrc5-3jpv-g9x2","title":"quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a...","description":"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.","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-770"],"updated_at":"2026-11-02T15:02:02.838203Z"}],"nvd":[{"id":"CVE-2025-46687","description":"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.","status":"published","published":"2025-04-27T20:15:15.72Z","modified":"2026-06-17T09:26:48.947Z","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":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:11:02.570368Z"}],"osv":[{"id":"ALPINE-CVE-2025-46687","description":"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.","status":"published","published":"2025-04-27T20:15:15.72Z","modified":"2026-08-27T22:18:02.903581137Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:50.269992Z"},{"id":"CVE-2025-46687","description":"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.","status":"published","published":"2025-04-27T00:00:00Z","modified":"2026-10-28T10:45:27.432535172Z","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-770"],"updated_at":"2026-11-02T15:44:49.707645Z"},{"id":"DEBIAN-CVE-2025-46687","description":"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.","status":"published","published":"2025-04-27T20:15:15.72Z","modified":"2026-09-01T20:05:52.77640796Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:47.378563Z"},{"id":"UBUNTU-CVE-2025-46687","description":"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.","status":"published","published":"2025-04-27T20:15:00Z","modified":"2026-10-17T12:56:52.584898914Z","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":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:50.31802Z"}]}}
