Every CVE Search/ Get API key

CVE-2018-20538

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2...

5.5 Medium

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during certain finishes tests.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.79%Up 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during certain finishes tests.

Record
CVE-2018-20538
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during certain finishes tests.

Record
CVE-2018-20538
Updated
2026-11-02
EUVDEUVD-2018-13092 No score

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during certain finishes tests.

Record
EUVD-2018-13092
Updated
2026-11-03
GitHub AdvisoriesGHSA-vvh8-8r3j-wmjw 5.5

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2...

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during certain finishes tests.

Record
GHSA-vvh8-8r3j-wmjw
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-416
Updated
2026-11-02
OSV 5.5

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during certain finishes tests.

Record
CVE-2018-20538
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-20538 5.5

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during certain finishes tests.

Record
DEBIAN-CVE-2018-20538
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-20538 5.5

There is a use-after-free at asm/preproc.c (function pp_getline) in Netwide Assembler (NASM) 2.14rc16 that will cause a denial of service during certain finishes tests.

Record
UBUNTU-CVE-2018-20538
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
nasm
Debian:12
All versions, plus listed versions
2.16.01-12.16.03-13.01-1
None known
nasm
Debian:13
All versions, plus listed versions
2.16.03-13.01-1
None known
nasm
Debian:14
All versions, plus listed versions
2.16.03-13.01-1
None known
nasm
Ubuntu:16.04:LTS
All versions, plus listed versions
2.11.06-1really2.11.05-12.11.08-12.11.08-1ubuntu0.1
None known
nasm
Ubuntu:18.04:LTS
All versions, plus listed versions
2.13.01-22.13.02-0.1
None known
nasm
Ubuntu:20.04:LTS
All versions, plus listed versions
2.14.02-1
None known
nasm
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
2.15.05-12.15.05-1ubuntu0.1~esm12.15.05-1ubuntu0.1~esm2
None known
nasm
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
2.16.01-12.16.01-1build12.16.01-1ubuntu0.1~esm12.16.01-1ubuntu0.1~esm2
None known
nasm
Ubuntu:25.10
All versions, plus listed versions
2.16.03-1
None known
nasm
Ubuntu:26.10
All versions, plus listed versions
3.01-1
None known
nasm
Ubuntu:26.04:LTS
All versions, plus listed versions
2.16.03-13.01-1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-20538 is a medium vulnerability (CVSS 5.5) in Nasm Netwide Assembler, published December 28, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.79%, the 56th percentile. No source names a fixed version.

References

MoveEnter Open