{"id":"UBUNTU-CVE-2026-12216","details":"A weakness has been identified in svaarala duktape up to 2.99.99. This issue affects some unknown processing of the file duk_api_bytecode.c. Executing a manipulation of the argument count_instr can lead to memory corruption. The attack requires local access. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","modified":"2026-06-24T08:58:47Z","published":"2026-06-15T04:16:00Z","upstream":["CVE-2026-12216"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-12216"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-12216"},{"type":"REPORT","url":"https://github.com/hmKunlun/compileOOB/blob/main/api_bytecode.md"}],"affected":[{"package":{"name":"duktape","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/duktape?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1-1","2.2.0-2","2.2.0-3"],"ecosystem_specific":{"binaries":[{"binary_name":"duktape","binary_version":"2.2.0-3"},{"binary_name":"libduktape202","binary_version":"2.2.0-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12216.json"}},{"package":{"name":"duktape","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/duktape?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0-1","2.4.0-2","2.5.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"duktape","binary_version":"2.5.0-1"},{"binary_name":"libduktape205","binary_version":"2.5.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12216.json"}},{"package":{"name":"duktape","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/duktape?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0-2","2.6.0-2","2.7.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"duktape","binary_version":"2.7.0-1"},{"binary_version":"2.7.0-1","binary_name":"libduktape207"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12216.json"}},{"package":{"name":"duktape","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/duktape?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0+tests-0ubuntu2","2.7.0+tests-0ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"duktape","binary_version":"2.7.0+tests-0ubuntu3"},{"binary_version":"2.7.0+tests-0ubuntu3","binary_name":"libduktape207"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12216.json"}},{"package":{"name":"duktape","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/duktape?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0+tests-0ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"duktape","binary_version":"2.7.0+tests-0ubuntu3"},{"binary_name":"libduktape207","binary_version":"2.7.0+tests-0ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12216.json"}},{"package":{"name":"duktape","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/duktape?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0+tests-0ubuntu3","2.7.0+tests-0ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.0+tests-0ubuntu4","binary_name":"duktape"},{"binary_name":"libduktape207","binary_version":"2.7.0+tests-0ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12216.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_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"}]}