CVE-2021-45257
Linux Debian vulnerability analysis and mitigation

Overview

An infinite loop vulnerability was identified in NASM (Netwide Assembler) version 2.16rc0, specifically affecting the gpaste_tokens function. The vulnerability was discovered and disclosed on December 22, 2021, and assigned the identifier CVE-2021-45257. This security flaw affects the NASM assembler software, which is widely used for x86 architecture assembly programming (NVD, CVE).

Technical details

The vulnerability is classified as an infinite loop condition (CWE-835: Loop with Unreachable Exit Condition). According to the CVSS 3.1 scoring system, it has received a base score of 5.5 (Medium severity) with the following vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. The vulnerability specifically manifests in the gpaste_tokens function, where under certain conditions, the code enters an infinite loop state (NVD).

Impact

The vulnerability primarily affects system availability, as indicated by the CVSS metrics showing high impact on availability (A:H) but no impact on confidentiality (C:N) or integrity (I:N). When exploited, the vulnerability can cause the system to enter an infinite loop, potentially leading to a denial of service condition (NVD).

Mitigation and workarounds

The vulnerability affects NASM version 2.16rc0 and remains unfixed in several distributions including Debian Bullseye, Bookworm, and Sid/Trixie versions (Debian Tracker). Users are advised to monitor for updates and apply patches when available.

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23745HIGH8.2
  • JavaScriptJavaScript
  • argo-workflows-fips-3.6
NoYesJan 16, 2026
CVE-2026-23535HIGH8
  • PythonPython
  • wlc
NoYesJan 16, 2026
CVE-2026-23490HIGH7.5
  • PythonPython
  • pyasn1
NoYesJan 16, 2026
CVE-2026-23643MEDIUM5.4
  • CakePHPCakePHP
  • cakephp
NoYesJan 16, 2026
CVE-2025-61873LOW2.6
  • Linux DebianLinux Debian
  • request-tracker4
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management