CVE-2019-20352
published 2020-01-06CVE-2019-20352: In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in…
PriorityP424high7.1CVSS 3.1
AVLACLPRNUIRSUCHINAH
EPSS
0.84%
53.5th percentile
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | nasm | < nasm 2.15.04-1 (bookworm) | nasm 2.15.04-1 (bookworm) |
| msrc | azl3_tensorflow_2.16.1-9_on_azure_linux_3.0 | — | — |
| msrc | cbl2_tensorflow_2.11.1-2_on_cbl_mariner_2.0 | — | — |
| nasm | nasm | >= 0 < 2.15.04-1 | 2.15.04-1 |
| nasm | nasm | >= 0 < 2.15.04-1 | 2.15.04-1 |
| nasm | nasm | >= 0 < 2.15.04-1 | 2.15.04-1 |
| nasm | nasm | >= 0 < 2.15.04-1 | 2.15.04-1 |
| nasm | netwide_assembler | — | — |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:P
osv7.1HIGH
vendor_debian7.1LOW
vendor_msrc7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
vendor_msrc·2020-01-14·CVSS 7.1
CVE-2019-20352 [HIGH] CWE-125 In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner:
Red Hat
nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c
vendor_redhat·2020-01-14·CVSS 7.1
CVE-2019-20352 [HIGH] CWE-122 nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c
nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
Package: nasm (Red Hat Enterprise Linux 5) - Out of support scope
Package: nasm (Red Hat Enterprise Linux 6) - Out of support scope
Package: nasm (Red Hat Enterprise Linux 7) - Fix deferred
Package: nasm (Red Hat Enterprise Linux 8) - Fix deferred
Debian
CVE-2019-20352: nasm - In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a...
vendor_debian·2019·CVSS 7.1
CVE-2019-20352 [HIGH] CVE-2019-20352: nasm - In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a...
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
Scope: local
bookworm: resolved (fixed in 2.15.04-1)
bullseye: resolved (fixed in 2.15.04-1)
forky: resolved (fixed in 2.15.04-1)
sid: resolved (fixed in 2.15.04-1)
trixie: resolved (fixed in 2.15.04-1)
GHSA
GHSA-m9qp-645h-mppv: In Netwide Assembler (NASM) 2
ghsa_unreviewed·2022-05-24
CVE-2019-20352 [MEDIUM] GHSA-m9qp-645h-mppv: In Netwide Assembler (NASM) 2
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
OSV
CVE-2019-20352: In Netwide Assembler (NASM) 2
osv·2020-01-06·CVSS 7.1
CVE-2019-20352 [HIGH] CVE-2019-20352: In Netwide Assembler (NASM) 2
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-20352 nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c [fedora-all]
bugzilla·2020-01-14·CVSS 7.1
CVE-2019-20352 [HIGH] CVE-2019-20352 nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c [fedora-all]
CVE-2019-20352 nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Bugzilla
CVE-2019-20352 nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c
bugzilla·2020-01-14·CVSS 7.1
CVE-2019-20352 [HIGH] CVE-2019-20352 nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c
CVE-2019-20352 nasm: heap-based buffer over-read in set_text_free when called from expand_one_smacro in asm/preproc.c
In Netwide Assembler (NASM) 2.15rc0, a heap-based buffer over-read occurs (via a crafted .asm file) in set_text_free when called from expand_one_smacro in asm/preproc.c.
Upstream Issue:
https://bugzilla.nasm.us/show_bug.cgi?id=3392636
Discussion:
Created nasm tracking bugs for this issue:
Affects: fedora-all [bug 1790847]
---
Nasm is an assembler/disassembler for Intel x86 architecture. This flaw can be triggered when nasm is used to assemble a malicious assembly instructions file. These operations are usually done by developers or users have local shell accounts. Also since this is an OOB read flaw, it can only cause a crash.
2020-01-06
Published