CVE-2020-21685 Memory corruption in n/a

Medium 5.5 Published Updated

Remote attackers can cause denial of service in NASM by providing a crafted assembly file that triggers a buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-21685?

CVE-2020-21685 is a medium-severity memory corruption vulnerability in Nasm Netwide Assembler, published on 22 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Buffer Overflow vulnerability in hash_findi function in hashtbl.c in nasm 2.15rc0 allows remote attackers to cause a denial of service via crafted asm file.

Weakness: CWE-787

Which versions are affected by CVE-2020-21685?

It affects 1 product.

Products include Nasm Netwide Assembler.

How do I fix CVE-2020-21685?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-21685 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-21685 exists.

All Nasm Netwide Assembler vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-21685, GHSA-rcf5-prwr-ph76.

Is CVE-2020-21685 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free