Every CVE Search/ Get API key

CVE-2021-33452

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in...

5.5 Medium

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

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.33%Down 0.6 points since Jul 27, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

Record
CVE-2021-33452
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-401
Updated
2026-11-02
CVE List No score

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

Record
CVE-2021-33452
Updated
2026-11-02
EUVDEUVD-2021-20156 No score

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

Record
EUVD-2021-20156
Updated
2026-11-03
GitHub AdvisoriesGHSA-fmxx-46x7-2phx 5.5

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in...

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

Record
GHSA-fmxx-46x7-2phx
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-401
Updated
2026-11-02
OSVAZL-41956 5.5

CVE-2021-33452 affecting package nasm 2.16.01-2

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

Record
AZL-41956
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-05
OSV 5.5

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

Record
CVE-2021-33452
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2021-33452 5.5

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

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

An issue was discovered in NASM version 2.16rc0. There are memory leaks in nasm_malloc() in nasmlib/alloc.c.

Record
UBUNTU-CVE-2021-33452
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUSN-8248-1 No score

nasm vulnerabilities

Daisy Chen discovered that NASM was vulnerable to a heap buffer overflow when handling certain input. An attacker could possibly use this issue to cause NASM to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2023-31722)

It was discovered that NASM incorrectly handled memory allocation. An attacker could possibly use this issue to cause NASM to use excessive resources, leading to a denial of service. This issue only affected Ubuntu 24.04 LTS. (CVE-2021-33452, CVE-2021-33450)

Record
USN-8248-1
Updated
2026-11-02
OSVUSN-8248-2 No score

nasm regression

USN-8248-1 fixed vulnerabilities in NASM. Unfortunately the update introduced a regression which could cause NASM to crash. This update fixes the problem by reverting the fix for CVE-2021-33450 and CVE-2021-33452 in Ubuntu 24.04 LTS.

We apologize for the inconvenience.

Original advisory details:

Daisy Chen discovered that NASM was vulnerable to a heap buffer overflow when handling certain input. An attacker could possibly use this issue to cause NASM to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2023-31722)

It was discovered that NASM incorrectly handled memory allocation. An attacker could possibly use this issue to cause NASM to use excessive resources, leading to a denial of service. This issue only affected Ubuntu 24.04 LTS. (CVE-2021-33452, CVE-2021-33450)

Record
USN-8248-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
nasm
Azure Linux:3
through 2.16.01-2 None known
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: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:Pro:22.04:LTS
From an advisory covering 3 CVEs
before 2.15.05-1ubuntu0.1~esm1, plus listed versions
2.15.05-1
2.15.05-1ubuntu0.1~esm1
nasm
Ubuntu:Pro:24.04:LTS
From an advisory covering 3 CVEs
before 2.16.01-1ubuntu0.1~esm1, plus listed versions
2.16.01-12.16.01-1build1
2.16.01-1ubuntu0.1~esm1
nasm
Ubuntu:Pro:24.04:LTS
From an advisory covering 2 CVEs
before 2.16.01-1ubuntu0.1~esm2, plus listed versions
2.16.01-12.16.01-1build12.16.01-1ubuntu0.1~esm1
2.16.01-1ubuntu0.1~esm2

History

History
RecordedChangedSources
affected, facts
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2021-33452 is a medium vulnerability (CVSS 5.5) in Nasm Netwide Assembler, published July 26, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 26th percentile. No source names a fixed version.

References

Show 6 moreShow less
MoveEnter Open