Skip to content
OpenAdvisories
High USN-9253-1 5 CVEs

nasm vulnerabilities

Published Nov 30, 2026 · Updated Dec 2, 2026

Summary

It was discovered that NASM incorrectly handled certain malformed macro
definitions. An attacker could possibly use this issue to cause NASM to
crash, resulting in a denial of service. (CVE-2025-8842)

It was discovered that NASM incorrectly handled the no_dead_strip pragma
when generating Mach-O output, leading to a heap buffer over-read. An
attacker could possibly use this issue to cause NASM to crash, resulting in
a denial of service. (CVE-2025-8843)

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. (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)

Fixed packages 1

ReleasePackageFixed in
Ubuntu · 26.10 nasm 3.01-1ubuntu0.26.10.1

Vulnerabilities 5

  • High 7.5

    CVE-2026-6067

    A heap buffer overflow vulnerability exists in the Netwide Assembler (NASM) due to a lack of bounds checking in the obj_directive() function. This vulnerability can be exploited by a user assembling a malicious .asm file, potentially leading to heap memory co…

  • Medium 6.5

    CVE-2026-6068

    NASM contains a heap use after free vulnerability in response file (-@) processing where a dangling pointer to freed memory is stored in the global depend_file and later dereferenced, as the response-file buffer is freed before the pointer is used, allowing f…

  • Medium 5.3

    NASM Netwide Assember preproc.c do_directive use after free

    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…

  • Medium 5.3

    NASM Netwide Assember outmacho.c macho_no_dead_strip heap-based overflow

    A vulnerability was found in NASM Netwide Assember 2.17rc0. This affects the function macho_no_dead_strip of the file outmacho.c. The manipulation leads to heap-based buffer overflow. Local access is required to approach this attack. The exploit has been disc…

  • Low 3.3

    NASM Netwide Assember preproc.c parse_smacro_template null pointer dereference

    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 …

References

  • report
    https://ubuntu.com/security/CVE-2025-8842
  • report
    https://ubuntu.com/security/CVE-2025-8843
  • report
    https://ubuntu.com/security/CVE-2025-8844
  • report
    https://ubuntu.com/security/CVE-2026-6067
  • report
    https://ubuntu.com/security/CVE-2026-6068