# CVE-2021-45257: An infinite loop vulnerability exists in nasm 2.16rc0 via the gpastetokens function.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2021-12-22T16:37:12.000Z
- Modified: 2026-06-17T04:13:13.647Z
- Weaknesses: CWE-835
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nasm netwide_assembler: 2.16

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.nasm.us/show_bug.cgi?id=3392790> (broken-link, issue-tracking)

## Sources

- CVE List: [CVE-2021-45257](https://www.cve.org/CVERecord?id=CVE-2021-45257), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-45257](https://nvd.nist.gov/vuln/detail/CVE-2021-45257), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45257 · Whole record: https://cve.day/CVE-2021-45257.json · Rebuilt by cve.day 2026-11-25T22:58:06.107Z
