Description
NASM nasm-2.13.03 nasm- 2.14rc15 version 2.14rc15 and earlier contains a memory corruption (crashed) of nasm when handling a crafted file due to function assemble_file(inname, depend_ptr) at asm/nasm.c:482. vulnerability in function assemble_file(inname, depend_ptr) at asm/nasm.c:482. that can result in aborting/crash nasm program. This attack appear to be exploitable via a specially crafted asm file..
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.14-1 | — |
| Debian 13 | nasm | 2.14-1 | — |
| Debian 12 | nasm | 2.14-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | nasm | No fix yet | — |
| Ubuntu 16.04 LTS | nasm | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | nasm | 2.14.02-3.4.1 | SUSE-SU-2020:1843-1 |
| SLES 15 SP1 | nasm | 2.14.02-3.4.1 | SUSE-SU-2020:1843-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.2 | nasm | 2.14.02-lp152.4.3.1 | openSUSE-SU-2020:0954-1 |
| openSUSE Leap 15.1 | nasm | 2.14.02-lp151.3.3.1 | openSUSE-SU-2020:0952-1 |
Advisories 3
- openSUSE-SU-2020:0954-1 Security update for nasm SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1843-1 Security update for nasm SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0952-1 Security update for nasm SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/cyrillos/nasm/issues/3
- https://bugzilla.nasm.us/show_bug.cgi?id=3392507
- openSUSE-SU-2020:0952 vendor-advisory
- openSUSE-SU-2020:0954 vendor-advisory