CVE Vulnerabilities

CVE-2020-24978

Double Free

Published: Sep 04, 2020 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
5.5 LOW
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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

Weakness

The product calls free() twice on the same memory address.

Affected Software

Name Vendor Start Version End Version
Netwide_assembler Nasm 2.15.04-rc3 (including) 2.15.04-rc3 (including)
Nasm Ubuntu bionic *
Nasm Ubuntu focal *
Nasm Ubuntu trusty *
Nasm Ubuntu xenial *

Potential Mitigations

References