Loop with Unreachable Exit Condition ('Infinite Loop') Affecting nasm package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.27% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2504-NASM-9822631
  • published13 Sept 2025
  • disclosed22 Dec 2021

Introduced: 22 Dec 2021

CVE-2021-45257  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:25.04 nasm.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nasm package and not the nasm package as distributed by Ubuntu. See How to fix? for Ubuntu:25.04 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1