Description
NASM’s disasm() function contains a stack based buffer overflow when formatting disassembly output, allowing an attacker triggered out-of-bounds write when `slen` exceeds the buffer capacity.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NASM | NASM | nasm-3.02rc5 | — |
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 | nasm | No fix yet | — |
| Debian 13 | nasm | No fix yet | — |
| Debian 12 | nasm | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nasm | No fix yet | — |
| Ubuntu 26.04 LTS | nasm | No fix yet | — |
| Ubuntu 25.10 | nasm | No fix yet | — |
| Ubuntu 20.04 LTS | nasm | No fix yet | — |
| Ubuntu 18.04 LTS | nasm | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | nasm | No fix yet | — |
| Ubuntu Pro 24.04 LTS | nasm | No fix yet | — |
| Ubuntu Pro 22.04 LTS | nasm | No fix yet | — |