nasm CVE Vulnerabilities & Metrics

Focus on nasm vulnerabilities and metrics.

Last updated: 08 Mar 2025, 23:25 UTC

About nasm Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with nasm. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total nasm CVEs: 64
Earliest CVE date: 10 Jan 2005, 05:00 UTC
Latest CVE date: 22 Aug 2023, 19:16 UTC

Latest CVE reference: CVE-2023-38668

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 0

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): -100.0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): -100.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical nasm CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 3.73

Max CVSS: 10.0

Critical CVEs (≥9): 2

CVSS Range vs. Count

Range Count
0.0-3.9 18
4.0-6.9 46
7.0-8.9 1
9.0-10.0 2

CVSS Distribution Chart

Top 5 Highest CVSS nasm CVEs

These are the five CVEs with the highest CVSS scores for nasm, sorted by severity first and recency.

All CVEs for nasm

CVE-2023-38668 nasm vulnerability CVSS: 0 22 Aug 2023, 19:16 UTC

Stack-based buffer over-read in disasm in nasm 2.16 allows attackers to cause a denial of service (crash).

CVE-2023-38667 nasm vulnerability CVSS: 0 22 Aug 2023, 19:16 UTC

Stack-based buffer over-read in function disasm in nasm 2.16 allows attackers to cause a denial of service.

CVE-2023-38665 nasm vulnerability CVSS: 0 22 Aug 2023, 19:16 UTC

Null pointer dereference in ieee_write_file in nasm 2.16rc0 allows attackers to cause a denial of service (crash).

CVE-2022-29654 nasm vulnerability CVSS: 0 22 Aug 2023, 19:16 UTC

Buffer overflow vulnerability in quote_for_pmake in asm/nasm.c in nasm before 2.15.05 allows attackers to cause a denial of service via crafted file.

CVE-2020-21687 nasm vulnerability CVSS: 0 22 Aug 2023, 19:16 UTC

Buffer Overflow vulnerability in scan function in stdscan.c in nasm 2.15rc0 allows remote attackers to cause a denial of service via crafted asm file.

CVE-2020-21686 nasm vulnerability CVSS: 0 22 Aug 2023, 19:16 UTC

A stack-use-after-scope issue discovered in expand_mmac_params function in preproc.c in nasm before 2.15.04 allows remote attackers to cause a denial of service via crafted asm file.

CVE-2020-21685 nasm vulnerability CVSS: 0 22 Aug 2023, 19:16 UTC

Buffer Overflow vulnerability in hash_findi function in hashtbl.c in nasm 2.15rc0 allows remote attackers to cause a denial of service via crafted asm file.

CVE-2020-21528 nasm vulnerability CVSS: 0 22 Aug 2023, 19:16 UTC

A Segmentation Fault issue discovered in in ieee_segment function in outieee.c in nasm 2.14.03 and 2.15 allows remote attackers to cause a denial of service via crafted assembly file.

CVE-2020-18780 nasm vulnerability CVSS: 0 22 Aug 2023, 19:15 UTC

A Use After Free vulnerability in function new_Token in asm/preproc.c in nasm 2.14.02 allows attackers to cause a denial of service via crafted nasm command.

CVE-2023-31722 nasm vulnerability CVSS: 0 17 May 2023, 14:15 UTC

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

CVE-2022-44370 nasm vulnerability CVSS: 0 29 Mar 2023, 20:15 UTC

NASM v2.16 was discovered to contain a heap buffer overflow in the component quote_for_pmake() asm/nasm.c:856

CVE-2022-44369 nasm vulnerability CVSS: 0 29 Mar 2023, 20:15 UTC

NASM 2.16 (development) is vulnerable to 476: Null Pointer Dereference via output/outaout.c.

CVE-2022-44368 nasm vulnerability CVSS: 0 29 Mar 2023, 20:15 UTC

NASM v2.16 was discovered to contain a null pointer deference in the NASM component

CVE-2022-46457 nasm vulnerability CVSS: 0 04 Jan 2023, 18:15 UTC

NASM v2.16 was discovered to contain a segmentation violation in the component ieee_write_file at /output/outieee.c.

CVE-2022-46456 nasm vulnerability CVSS: 0 04 Jan 2023, 18:15 UTC

NASM v2.16 was discovered to contain a global buffer overflow in the component dbgdbg_typevalue at /output/outdbg.c.

CVE-2022-41420 nasm vulnerability CVSS: 0 03 Oct 2022, 14:15 UTC

nasm v2.16 was discovered to contain a stack overflow in the Ndisasm component

CVE-2021-33452 nasm vulnerability CVSS: 0 26 Jul 2022, 13:15 UTC

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

CVE-2021-33450 nasm vulnerability CVSS: 0 26 Jul 2022, 13:15 UTC

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_calloc() in nasmlib/alloc.c.

CVE-2021-45257 nasm vulnerability CVSS: 4.3 22 Dec 2021, 17:15 UTC

An infinite loop vulnerability exists in nasm 2.16rc0 via the gpaste_tokens function.

CVE-2021-45256 nasm vulnerability CVSS: 4.3 22 Dec 2021, 17:15 UTC

A Null Pointer Dereference vulnerability existfs in nasm 2.16rc0 via asm/preproc.c.

CVE-2020-18974 nasm vulnerability CVSS: 4.3 25 Aug 2021, 16:15 UTC

Buffer Overflow in Netwide Assembler (NASM) v2.15.xx allows attackers to cause a denial of service via 'crc64i' in the component 'nasmlib/crc64'. This issue is different than CVE-2019-7147.

CVE-2020-24978 nasm vulnerability CVSS: 7.5 04 Sep 2020, 00:15 UTC

In NASM 2.15.04rc3, there is a double-free vulnerability in pp_tokline asm/preproc.c. This is fixed in commit 8806c3ca007b84accac21dd88b900fb03614ceb7.

CVE-2020-24242 nasm vulnerability CVSS: 4.3 25 Aug 2020, 14:15 UTC

In Netwide Assembler (NASM) 2.15rc10, SEGV can be triggered in tok_text in asm/preproc.c by accessing READ memory.

CVE-2020-24241 nasm vulnerability CVSS: 4.3 25 Aug 2020, 14:15 UTC

In Netwide Assembler (NASM) 2.15rc10, there is heap use-after-free in saa_wbytes in nasmlib/saa.c.

CVE-2019-20352 nasm vulnerability CVSS: 5.8 06 Jan 2020, 06:15 UTC

In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.

CVE-2019-20334 nasm vulnerability CVSS: 4.3 04 Jan 2020, 07:15 UTC

In Netwide Assembler (NASM) 2.14.02, stack consumption occurs in expr# functions in asm/eval.c. This potentially affects the relationships among expr0, expr1, expr2, expr3, expr4, expr5, and expr6 (and stdscan in asm/stdscan.c). This is similar to CVE-2019-6290 and CVE-2019-6291.

CVE-2019-14248 nasm vulnerability CVSS: 4.3 24 Jul 2019, 04:15 UTC

In libnasm.a in Netwide Assembler (NASM) 2.14.xx, asm/pragma.c allows a NULL pointer dereference in process_pragma, search_pragma_list, and nasm_set_limit when "%pragma limit" is mishandled.

CVE-2019-8343 nasm vulnerability CVSS: 6.8 15 Feb 2019, 07:29 UTC

In Netwide Assembler (NASM) 2.14.02, there is a use-after-free in paste_tokens in asm/preproc.c.

CVE-2019-7147 nasm vulnerability CVSS: 4.3 29 Jan 2019, 00:29 UTC

A buffer over-read exists in the function crc64ib in crc64.c in nasmlib in Netwide Assembler (NASM) 2.14rc16. A crafted asm input can cause segmentation faults, leading to denial-of-service.

CVE-2019-6291 nasm vulnerability CVSS: 4.3 15 Jan 2019, 00:29 UTC

An issue was discovered in the function expr6 in eval.c in Netwide Assembler (NASM) through 2.14.02. There is a stack exhaustion problem caused by the expr6 function making recursive calls to itself in certain scenarios involving lots of '!' or '+' or '-' characters. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted asm file.

CVE-2019-6290 nasm vulnerability CVSS: 4.3 15 Jan 2019, 00:29 UTC

An infinite recursion issue was discovered in eval.c in Netwide Assembler (NASM) through 2.14.02. There is a stack exhaustion problem resulting from infinite recursion in the functions expr, rexp, bexpr and cexpr in certain scenarios involving lots of '{' characters. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted asm file.

CVE-2018-20538 nasm vulnerability CVSS: 4.3 28 Dec 2018, 16:29 UTC

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during certain finishes tests.

CVE-2018-20535 nasm vulnerability CVSS: 4.3 28 Dec 2018, 16:29 UTC

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during a line-number increment attempt.

CVE-2018-1000886 nasm vulnerability CVSS: 4.3 20 Dec 2018, 21:29 UTC

nasm version 2.14.01rc5, 2.15 contains a Buffer Overflow vulnerability in asm/stdscan.c:130 that can result in Stack-overflow caused by triggering endless macro generation, crash the program. This attack appear to be exploitable via a crafted nasm input file.

CVE-2018-19755 nasm vulnerability CVSS: 4.3 30 Nov 2018, 03:29 UTC

There is an illegal address access at asm/preproc.c (function: is_mmacro) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service (out-of-bounds array access) because a certain conversion can result in a negative integer.

CVE-2018-19216 nasm vulnerability CVSS: 6.8 12 Nov 2018, 19:29 UTC

Netwide Assembler (NASM) before 2.13.02 has a use-after-free in detoken at asm/preproc.c.

CVE-2018-19215 nasm vulnerability CVSS: 6.8 12 Nov 2018, 19:29 UTC

Netwide Assembler (NASM) 2.14rc16 has a heap-based buffer over-read in expand_mmac_params in asm/preproc.c for the special cases of the % and $ and ! characters.

CVE-2018-19214 nasm vulnerability CVSS: 6.8 12 Nov 2018, 19:29 UTC

Netwide Assembler (NASM) 2.14rc15 has a heap-based buffer over-read in expand_mmac_params in asm/preproc.c for insufficient input.

CVE-2018-19213 nasm vulnerability CVSS: 4.3 12 Nov 2018, 19:29 UTC

Netwide Assembler (NASM) through 2.14rc16 has memory leaks that may lead to DoS, related to nasm_malloc in nasmlib/malloc.c.

CVE-2018-19209 nasm vulnerability CVSS: 4.3 12 Nov 2018, 19:29 UTC

Netwide Assembler (NASM) 2.14rc15 has a NULL pointer dereference in the function find_label in asm/labels.c that will lead to a DoS attack.

CVE-2018-16999 nasm vulnerability CVSS: 4.3 13 Sep 2018, 16:29 UTC

Netwide Assembler (NASM) 2.14rc15 has an invalid memory write (segmentation fault) in expand_smacro in preproc.c, which allows attackers to cause a denial of service via a crafted input file.

CVE-2018-16517 nasm vulnerability CVSS: 4.3 06 Sep 2018, 23:29 UTC

asm/labels.c in Netwide Assembler (NASM) is prone to NULL Pointer Dereference, which allows the attacker to cause a denial of service via a crafted file.

CVE-2018-1000667 nasm vulnerability CVSS: 4.3 06 Sep 2018, 17:29 UTC

NASM nasm-2.13.03 nasm- 2.14rc15 version 2.14rc15 and earlier contains a memory corruption (crashed) of nasm when handling a crafted file due to function assemble_file(inname, depend_ptr) at asm/nasm.c:482. vulnerability in function assemble_file(inname, depend_ptr) at asm/nasm.c:482. that can result in aborting/crash nasm program. This attack appear to be exploitable via a specially crafted asm file..

CVE-2018-16382 nasm vulnerability CVSS: 4.3 03 Sep 2018, 02:29 UTC

Netwide Assembler (NASM) 2.14rc15 has a buffer over-read in x86/regflags.c.

CVE-2018-10316 nasm vulnerability CVSS: 4.3 24 Apr 2018, 02:29 UTC

Netwide Assembler (NASM) 2.14rc0 has an endless while loop in the assemble_file function of asm/nasm.c because of a globallineno integer overflow.

CVE-2018-10254 nasm vulnerability CVSS: 6.8 21 Apr 2018, 16:29 UTC

Netwide Assembler (NASM) 2.13 has a stack-based buffer over-read in the disasm function of the disasm/disasm.c file. Remote attackers could leverage this vulnerability to cause a denial of service or possibly have unspecified other impact via a crafted ELF file.

CVE-2018-10016 nasm vulnerability CVSS: 4.3 11 Apr 2018, 05:29 UTC

Netwide Assembler (NASM) 2.14rc0 has a division-by-zero vulnerability in the expr5 function in asm/eval.c via a malformed input file.

CVE-2018-8883 nasm vulnerability CVSS: 4.6 20 Mar 2018, 23:29 UTC

Netwide Assembler (NASM) 2.13.02rc2 has a buffer over-read in the parse_line function in asm/parser.c via uncontrolled access to nasm_reg_flags.

CVE-2018-8882 nasm vulnerability CVSS: 4.6 20 Mar 2018, 23:29 UTC

Netwide Assembler (NASM) 2.13.02rc2 has a stack-based buffer under-read in the function ieee_shr in asm/float.c via a large shift value.

CVE-2018-8881 nasm vulnerability CVSS: 6.8 20 Mar 2018, 23:29 UTC

Netwide Assembler (NASM) 2.13.02rc2 has a heap-based buffer over-read in the function tokenize in asm/preproc.c, related to an unterminated string.

CVE-2017-17820 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in pp_list_one_macro in asm/preproc.c that will lead to a remote denial of service attack, related to mishandling of operand-type errors.

CVE-2017-17819 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is an illegal address access in the function find_cc() in asm/preproc.c that will cause a remote denial of service attack, because pointers associated with skip_white_ calls are not validated.

CVE-2017-17818 nasm vulnerability CVSS: 5.0 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is a heap-based buffer over-read that will cause a remote denial of service attack, related to a while loop in paste_tokens in asm/preproc.c.

CVE-2017-17817 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in pp_verror in asm/preproc.c that will cause a remote denial of service attack.

CVE-2017-17816 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in pp_getline in asm/preproc.c that will cause a remote denial of service attack.

CVE-2017-17815 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is an illegal address access in is_mmacro() in asm/preproc.c that will cause a remote denial of service attack, because of a missing check for the relationship between minimum and maximum parameter counts.

CVE-2017-17814 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in do_directive in asm/preproc.c that will cause a remote denial of service attack.

CVE-2017-17813 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in the pp_list_one_macro function in asm/preproc.c that will cause a remote denial of service attack, related to mishandling of line-syntax errors.

CVE-2017-17812 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is a heap-based buffer over-read in the function detoken() in asm/preproc.c that will cause a remote denial of service attack.

CVE-2017-17811 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is a heap-based buffer overflow that will cause a remote denial of service attack, related to a strcpy in paste_tokens in asm/preproc.c, a similar issue to CVE-2017-11111.

CVE-2017-17810 nasm vulnerability CVSS: 4.3 21 Dec 2017, 03:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is a "SEGV on unknown address" that will cause a remote denial of service attack, because asm/preproc.c mishandles macro calls that have the wrong number of arguments.

CVE-2017-14228 nasm vulnerability CVSS: 4.3 09 Sep 2017, 08:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there is an illegal address access in the function paste_tokens() in preproc.c, aka a NULL pointer dereference. It will lead to remote denial of service.

CVE-2017-11111 nasm vulnerability CVSS: 6.8 08 Jul 2017, 17:29 UTC

In Netwide Assembler (NASM) 2.14rc0, preproc.c allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted file.

CVE-2017-10686 nasm vulnerability CVSS: 6.8 29 Jun 2017, 23:29 UTC

In Netwide Assembler (NASM) 2.14rc0, there are multiple heap use after free vulnerabilities in the tool nasm. The related heap is allocated in the token() function and freed in the detoken() function (called by pp_getline()) - it is used again at multiple positions later that could cause multiple damages. For example, it causes a corrupted double-linked list in detoken(), a double free or corruption in delete_Token(), and an out-of-bounds write in detoken(). It has a high possibility to lead to a remote code execution attack.

CVE-2008-7177 nasm vulnerability CVSS: 9.3 08 Sep 2009, 10:30 UTC

Buffer overflow in the listing module in Netwide Assembler (NASM) before 2.03.01 has unknown impact and attack vectors, a different vulnerability than CVE-2008-2719.

CVE-2008-2719 nasm vulnerability CVSS: 6.8 16 Jun 2008, 23:41 UTC

Off-by-one error in the ppscan function (preproc.c) in Netwide Assembler (NASM) 2.02 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted file that triggers a stack-based buffer overflow.

CVE-2004-1287 nasm vulnerability CVSS: 10.0 10 Jan 2005, 05:00 UTC

Buffer overflow in the error function in preproc.c for NASM 0.98.38 1.2 allows attackers to execute arbitrary code via a crafted asm file, a different vulnerability than CVE-2005-1194.