CVE-2021-45257
CVE-2021-45257 is a medium-severity vulnerability in Nasm Netwide Assembler with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-835.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- CVSS v2: 4.3
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-835
- Affected product: Nasm Netwide Assembler
- Published:
- Last modified:
Description
An infinite loop vulnerability exists in nasm 2.16rc0 via the gpaste_tokens function.
Frequently asked questions
- What is CVE-2021-45257?
- An infinite loop vulnerability exists in nasm 2.16rc0 via the gpaste_tokens function.
- How severe is CVE-2021-45257?
- CVE-2021-45257 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-45257 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-45257?
- CVE-2021-45257 affects Nasm Netwide Assembler. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-45257?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-45257 published?
- CVE-2021-45257 was published on 2021-12-22 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:nasm:netwide_assembler:2.16:rc0:*:*:*:*:*:*
More vulnerabilities in Nasm Netwide Assembler
- CVE-2004-1287 — Critical (CVSS 10.0): Buffer overflow in the error function in preproc.c for NASM 0.98.38 1.2 allows attackers to execute arbitrary code via…
- CVE-2020-24978 — Critical (CVSS 9.8): In NASM 2.15.04rc3, there is a double-free vulnerability in pp_tokline asm/preproc.c. This is fixed in commit…
- CVE-2026-6068 — Critical (CVSS 9.6): NASM contains a heap use after free vulnerability in response file (-@) processing where a dangling pointer to freed…
- CVE-2008-7177 — Critical (CVSS 9.3): Buffer overflow in the listing module in Netwide Assembler (NASM) before 2.03.01 has unknown impact and attack vectors,…
- CVE-2023-31722 — High (CVSS 7.8): There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).
- CVE-2022-44370 — High (CVSS 7.8): NASM v2.16 was discovered to contain a heap buffer overflow in the component quote_for_pmake() asm/nasm.c:856
All CVEs affecting Nasm Netwide Assembler →
Other CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities
- CVE-2026-24816 — Critical (CVSS 10.0): Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in datavane tis…
- CVE-2018-20784 — Critical (CVSS 9.8): In the Linux kernel before 4.20.2, kernel/sched/fair.c mishandles leaf cfs_rq's, which allows attackers to cause a…
- CVE-2017-12997 — Critical (CVSS 9.8): The LLDP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in…
- CVE-2017-12995 — Critical (CVSS 9.8): The DNS parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-domain.c:ns_print().
- CVE-2017-12990 — Critical (CVSS 9.8): The ISAKMP parser in tcpdump before 4.9.2 could enter an infinite loop due to bugs in print-isakmp.c, several functions.
- CVE-2026-31448 — Critical (CVSS 9.4): In the Linux kernel, the following vulnerability has been resolved: ext4: avoid infinite loops caused by residual…
Browse all CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities →