Description
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
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 | 2.15.04-1 | — |
| Debian 13 | nasm | 2.15.04-1 | — |
| Debian 12 | nasm | 2.15.04-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | nasm | No fix yet | — |
| Ubuntu 18.04 LTS | nasm | No fix yet | — |
| Ubuntu 16.04 LTS | nasm | No fix yet | — |