Vulnerabilities / CVE-2020-24978

critical

CVE-2020-24978

nasm: double-free vulnerability in pp_tokline asm/preproc.c

Published Modified CWE 415
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (low).

Description

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

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 3.0nasm2.16.01-1.ph3
debian 10nasmno fix listed
debian 11nasm2.15.04-1
debian 12nasm2.15.04-1
debian 13nasm2.15.04-1
debian 14nasm2.15.04-1
debian 9nasmno fix listed
echonasm2.15.04-1
Red Hatnasm, nasm-doc, nasm-rdoffno fix listed
Show all 11 entries from 9 sources
SourcePackageFixed in
Photon OS 3.0nasm2.16.01-1.ph3
debian 10nasmno fix listed
debian 11nasm2.15.04-1
debian 12nasm2.15.04-1
debian 13nasm2.15.04-1
debian 14nasm2.15.04-1
debian 9nasmno fix listed
echonasm2.15.04-1
Red Hatnasmno fix listed
Red Hatnasm-docno fix listed
Red Hatnasm-rdoffno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.