Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| svaarala | duktape | 2.99.0, 2.99.1, 2.99.2, 2.99.3, 2.99.4, 2.99.5, 2.99.6, 2.99.7, 2.99.8, 2.99.9, 2.99.10, 2.99.11, 2.99.12, 2.99.13, 2.99.14, 2.99.15, 2.99.16, 2.99.17, 2.99.18, 2.99.19, 2.99.20, 2.99.21, 2.99.22, 2.99.23, 2.99.24, 2.99.25, 2.99.26, 2.99.27, 2.99.28, 2.99.29, 2.99.30, 2.99.31, 2.99.32, 2.99.33, 2.9… | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | duktape | No fix yet | — |
| Debian 13 | duktape | No fix yet | — |
| Debian 12 | duktape | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | duktape | No fix yet | — |
| Ubuntu 26.04 LTS | duktape | No fix yet | — |
| Ubuntu 25.10 | duktape | No fix yet | — |
| Ubuntu 24.04 LTS | duktape | No fix yet | — |
| Ubuntu 22.04 LTS | duktape | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | duktape | No fix yet | — |
| Ubuntu 18.04 LTS | duktape | No fix yet | — |
References
- VDB-370859 | svaarala duktape duk_api_bytecode.c memory corruption vdb-entry technical-description
- VDB-370859 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-12216 | CVE Analysis and Report third-party-advisory
- Submit #833814 | Duktape https://github.com/svaarala/duktape <=2.99.99 Memory Corruption third-party-advisory
- https://github.com/hmKunlun/compileOOB/blob/main/api_bytecode.md exploit