USN-9451-1: NASM vulnerabilities

Publication date

2 December 2026

Overview

Several security issues were fixed in NASM.


Packages

  • nasm - Netwide Assembler

Details

It was discovered that NASM incorrectly handled segment definitions when
generating IEEE object output, leading to a NULL pointer dereference. An
attacker could possibly use this issue to cause NASM to crash, resulting
in a denial of service. This issue only affected Ubuntu 22.04 LTS.
(CVE-2020-21528)

It was discovered that NASM did not properly handle relocations for which
no suitable symbol could be found when generating a.out object output,
leading to a NULL pointer dereference. An attacker could possibly use
this issue to cause NASM to crash, resulting in a denial of service. This
issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS.
(CVE-2022-44369)

It was discovered that NASM incorrectly handled the quoting of file names
when generating makefile dependency output, leading to a heap buffer
overflow. An attacker could possibly use this...

It was discovered that NASM incorrectly handled segment definitions when
generating IEEE object output, leading to a NULL pointer dereference. An
attacker could possibly use this issue to cause NASM to crash, resulting
in a denial of service. This issue only affected Ubuntu 22.04 LTS.
(CVE-2020-21528)

It was discovered that NASM did not properly handle relocations for which
no suitable symbol could be found when generating a.out object output,
leading to a NULL pointer dereference. An attacker could possibly use
this issue to cause NASM to crash, resulting in a denial of service. This
issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS.
(CVE-2022-44369)

It was discovered that NASM incorrectly handled the quoting of file names
when generating makefile dependency output, leading to a heap buffer
overflow. An attacker could possibly use this issue to cause NASM to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-44370)

It was discovered that NASM incorrectly handled empty input files when
generating IEEE object output, leading to a NULL pointer dereference. An
attacker could possibly use this issue to cause NASM to crash, resulting
in a denial of service. This issue only affected Ubuntu 22.04 LTS.
(CVE-2022-46457)

It was discovered that NASM incorrectly handled invalid radix specifiers in
macro parameters, leading to a NULL pointer dereference. An attacker could
possibly use this issue to cause NASM to crash, resulting in a denial of
service. This issue only affected Ubuntu 26.04 LTS. (CVE-2025-8844)

It was discovered that NASM did not properly check bounds when handling
GROUP directives in OBJ output, leading to a heap buffer overflow. An
attacker could possibly use this issue to cause NASM to crash, resulting in
a denial of service, or possibly execute arbitrary code. (CVE-2026-6067)

It was discovered that NASM incorrectly handled dependency generation
options in response files, leading to a use-after-free. An attacker could
possibly use this issue to cause NASM to crash, resulting in a denial of
service, or possibly execute arbitrary code. (CVE-2026-6068)


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.04 LTS resolute nasm –  3.01-1ubuntu0.26.04.1~esm2  
24.04 LTS noble nasm –  2.16.01-1ubuntu0.1~esm4  
22.04 LTS jammy nasm –  2.15.05-1ubuntu0.1~esm4  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›