{"id":"CVE-2025-46687","state":"PUBLISHED","title":"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.","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.","publishedAt":"2025-04-27T00:00:00.000Z","updatedAt":"2025-04-28T16:19:35.018Z","severity":{"score":5.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","source":"mitre"},"assigner":"mitre","products":["QuickJS Project QuickJS"],"affected":[{"vendor":"QuickJS Project","product":"QuickJS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2025-04-26","versionType":"custom"}]}],"references":["https://github.com/quickjs-ng/quickjs/issues/1018","https://github.com/quickjs-ng/quickjs/pull/1020","https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a","https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465","https://github.com/bellard/quickjs/issues/399","https://bellard.org/quickjs/Changelog"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:09:17.366Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/46xxx/CVE-2025-46687.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-46687","state":"PUBLISHED","datePublished":"2025-04-27T00:00:00.000Z","dateUpdated":"2025-04-28T16:19:35.018Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-04-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"QuickJS Project","product":"QuickJS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2025-04-26","versionType":"custom"}]}],"references":[{"url":"https://github.com/quickjs-ng/quickjs/issues/1018"},{"url":"https://github.com/quickjs-ng/quickjs/pull/1020"},{"url":"https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a"},{"url":"https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465"},{"url":"https://github.com/bellard/quickjs/issues/399"},{"url":"https://bellard.org/quickjs/Changelog"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":5.6,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-04-27T19:38:23.826Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:quickjs_project:quickjs:*:*:*:*:*:*:*:*","versionEndExcluding":"2025-04-26"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-28T15:56:52.032854Z","id":"CVE-2025-46687","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-28T16:19:35.018Z"}}]}}}