{"id":"UBUNTU-CVE-2026-110715","details":"MuJS 1.3.6 before 1.3.9 contains a heap out-of-bounds read and write vulnerability in Array.prototype.sort that allows attackers to corrupt memory by inflating a simple array's length. Attackers can supply JavaScript that enlarges a dense array's length and calls sort, causing Ap_sort_cmp and Ap_sort_swap to access slots past the buffer and crash the process.","modified":"2026-10-17T12:59:51.651783836Z","published":"2026-10-15T00:00:00Z","upstream":["CVE-2026-110715"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-110715"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-110715"},{"type":"REPORT","url":"https://codeberg.org/ccxvii/mujs"},{"type":"REPORT","url":"https://codeberg.org/ccxvii/mujs/commit/32064e10caa45e68fc87331ca53d042049cc9396"},{"type":"REPORT","url":"https://codeberg.org/ccxvii/mujs/src/commit/307f18c4216420f2f56e22d8e7040baa39a6304a/jsarray.c#L245"},{"type":"REPORT","url":"https://hackmd.io/@haind-pwn/mujs-array-length-flat-oob"},{"type":"REPORT","url":"https://mujs.com/downloads/"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/mujs-1.3.6-before-1.3.9-heap-out-of-bounds-read-write-via-array-prototype-sort"}],"affected":[{"package":{"name":"mujs","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/mujs?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-1","1.1.3-2","1.1.3-3","1.1.3-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmujs1","binary_version":"1.1.3-3ubuntu0.1~esm1"},{"binary_name":"mujs","binary_version":"1.1.3-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110715.json"}},{"package":{"name":"mujs","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/mujs?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-1","1.3.3-2","1.3.3-3","1.3.3-3build1","1.3.3-3build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libmujs3","binary_version":"1.3.3-3build2"},{"binary_name":"mujs","binary_version":"1.3.3-3build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110715.json"}},{"package":{"name":"mujs","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/mujs?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.8-2","1.3.9-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmujs3","binary_version":"1.3.9-1"},{"binary_name":"mujs","binary_version":"1.3.9-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110715.json"}},{"package":{"name":"mujs","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/mujs?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.6-1","1.3.8-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libmujs3","binary_version":"1.3.8-2"},{"binary_version":"1.3.8-2","binary_name":"mujs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110715.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}