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

Critical 9.8 Published Updated

A double-free vulnerability in the NASM assembler's preprocessor allows attackers to execute arbitrary code or cause a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-24978?

CVE-2020-24978 is a critical use after free vulnerability in Nasm Netwide Assembler, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In NASM 2.15.04rc3, there is a double-free vulnerability in pp_tokline asm/preproc.c. This is fixed in commit 8806c3ca007b84accac21dd88b900fb03614ceb7.

Weakness: CWE-415

Which versions are affected by CVE-2020-24978?

It affects 1 product.

Products include Nasm Netwide Assembler.

How do I fix CVE-2020-24978?

Apply the vendor's patch.

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-24978 being exploited?

There is no known exploitation of CVE-2020-24978 in the wild and no public exploit code.

All Nasm Netwide Assembler vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-24978, GHSA-4vwx-p2g9-hr37, UBUNTU-CVE-2020-24978.

Is CVE-2020-24978 in your software?

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

Check your SBOMs for free