Description
A vulnerability has been found in NASM Netwide Assember 2.17rc0. Affected by this issue is the function do_directive of the file preproc.c. The manipulation leads to use after free. An attack has to be approached locally. 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-319376 | NASM Netwide Assember preproc.c do_directive use after free vdb-entry technical-description
- VDB-319376 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #623184 | nasm NASM version 2.17rc0 compiled on Jul 20 2025 and the newest master (888d9ab) Memory Corruption third-party-advisory
- https://bugzilla.nasm.us/show_bug.cgi?id=3392933 issue-tracking
- https://drive.google.com/file/d/11vEV1vMHXO4BrDGhvWAMm0Qo1woiUwVV/view?usp=drive_link exploit