BreachSpiderVerified, not vibes

CVE-2020-21686 in Nasm Netwide Assembler

Medium 5.5

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.5
EPSS0.4%
EPSS percentile30th
FixSee advisory

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Nasm Netwide Assembler < 2.15.04

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-21686
BreachSpider IDBS-2023-GLOBAL-148228-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published2023-08-22
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-562: CWE-562

Analysis AI-written, not human-reviewed

A stack-use-after-scope vulnerability in the expand_mmac_params function in preproc.c of NASM before version 2.15.04 can be exploited by remote attackers to cause a denial of service through a specially crafted asm file.

The vulnerability arises from improper handling of memory in the expand_mmac_params function, leading to a stack-use-after-scope condition. An attacker can exploit this by providing a malicious asm file that triggers the vulnerability, potentially causing the NASM assembler to crash.

Questions

What is CVE-2020-21686?

A stack-use-after-scope vulnerability in the expand_mmac_params function in preproc.c of NASM before version 2.15.04 can be exploited by remote attackers to cause a denial of service through a specially crafted asm file.

What is the CVSS score for CVE-2020-21686?

CVE-2020-21686 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. EPSS: 0.4%.

Is CVE-2020-21686 actively exploited?

No confirmed active exploitation of CVE-2020-21686 as of 2026-09-25.

How do I remediate CVE-2020-21686?

Priority: MEDIUM. Advisory: https://bugzilla.nasm.us/show_bug.cgi?id=3392643 PSIRT: [email protected]

What systems are affected by CVE-2020-21686?

CVE-2020-21686 affects Nasm Netwide Assembler.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Nasm","product":"Netwide Assembler","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.