USN-9451-1: NASM vulnerabilities
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)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/nasmto a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which Ubuntu releases are affected by the identified issues?
CVE-2020-21528 and CVE-2022-44370 affect Ubuntu 22.04 LTS only. CVE-2022-44369 affects Ubuntu 22.04 LTS and Ubuntu 24.04 LTS.
What processing paths must be used for these flaws to be triggered?
The NULL pointer dereference issues are triggered while NASM generates IEEE object output or a.out object output. The heap buffer overflow is triggered while NASM generates makefile dependency output involving file-name quoting.
What impact can these issues have?
The NULL pointer dereference issues can cause NASM to crash, resulting in denial of service. The makefile-dependency output issue can cause a crash and may possibly allow arbitrary code execution.