CVE-2020-18780 Use after free in n/a

Medium 5.5 Published Updated

Attackers can cause a denial of service in the NASM assembler by providing a crafted command that triggers a use-after-free error.

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-18780?

CVE-2020-18780 is a medium-severity use after free 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

A Use After Free vulnerability in function new_Token in asm/preproc.c in nasm 2.14.02 allows attackers to cause a denial of service via crafted nasm command.

Weakness: CWE-416

Which versions are affected by CVE-2020-18780?

It affects 1 product.

Products include Nasm Netwide Assembler.

How do I fix CVE-2020-18780?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2020-18780 being exploited?

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

All Nasm Netwide Assembler vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-18780, GHSA-32c4-v26c-m9ch, UBUNTU-CVE-2020-18780.

Is CVE-2020-18780 in your software?

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

Check your SBOMs for free