USN-9451-1: NASM vulnerabilities

Published Dec 2, 2026
·
Updated

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

6 affected componentsFixes available
All of the following
ubuntu/nasm<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=26.04
All of the following
ubuntu/nasm<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/nasm<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/nasm to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Dec 2, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203