Description
A vulnerability was determined in NASM Netwide Assember 2.17rc0. This vulnerability affects the function parse_smacro_template of the file preproc.c. The manipulation leads to null pointer dereference. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NASM | Netwide Assember | 2.17rc0 | — |
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 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nasm | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | nasm | No fix yet | — |
References
- VDB-319378 | NASM Netwide Assember preproc.c parse_smacro_template null pointer dereference vdb-entry technical-description
- VDB-319378 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #623187 | nasm NASM version 2.17rc0 compiled on Jul 20 2025 and the newest master (888d9ab) Memory Corruption third-party-advisory
- Submit #623196 | nasm NASM version 2.17rc0 compiled on Jul 20 2025 and the newest master (888d9ab) Memory Corruption (Duplicate) third-party-advisory
- Submit #623198 | nasm NASM version 2.17rc0 compiled on Jul 20 2025 and the newest master (888d9ab) Memory Corruption (Duplicate) third-party-advisory
- https://bugzilla.nasm.us/show_bug.cgi?id=3392936 issue-tracking
- https://drive.google.com/file/d/10TSdMErFTBtLFIwfh_fia635cmtmFuei/view?usp=drive_link exploit