{"id":"UBUNTU-CVE-2025-12745","details":"A weakness has been identified in QuickJS up to eb2c89087def1829ed99630cb14b549d7a98408c. This affects the function js_array_buffer_slice of the file quickjs.c. This manipulation causes buffer over-read. The attack is restricted to local execution. The exploit has been made available to the public and could be exploited. This product adopts a rolling release strategy to maintain continuous delivery Patch name: c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea. To fix this issue, it is recommended to deploy a patch.","modified":"2026-05-20T16:20:21.146149033Z","published":"2025-11-05T19:15:00Z","upstream":["CVE-2025-12745"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-12745"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-12745"},{"type":"REPORT","url":"https://github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea"},{"type":"REPORT","url":"https://github.com/bellard/quickjs/issues/451"},{"type":"REPORT","url":"https://github.com/bellard/quickjs/issues/451#issue-3533698042"},{"type":"REPORT","url":"https://github.com/bellard/quickjs/issues/451#issuecomment-3481807558"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.331268"},{"type":"REPORT","url":"https://vuldb.com/?id.331268"},{"type":"REPORT","url":"https://vuldb.com/?submit.678850"}],"affected":[{"package":{"name":"quickjs","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/quickjs?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2021.03.27-1","2021.03.27-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libquickjs","binary_version":"2021.03.27-1ubuntu0.1~esm1"},{"binary_version":"2021.03.27-1ubuntu0.1~esm1","binary_name":"quickjs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12745.json"}},{"package":{"name":"quickjs","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/quickjs?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.01.13-5","2025.04.26-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2025.04.26-1","binary_name":"libquickjs"},{"binary_version":"2025.04.26-1","binary_name":"quickjs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12745.json"}},{"package":{"name":"quickjs","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/quickjs?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.04.26-1","2025.04.26-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2025.04.26-1build1","binary_name":"libquickjs"},{"binary_name":"quickjs","binary_version":"2025.04.26-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12745.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"},{"type":"Ubuntu","score":"medium"}]}