Every CVE Search/ Get API key

CVE-2023-31722

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

7.8 HighFix available

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

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
High
Integrity
High
Availability
High

Exploit likelihood

0.35%Up 0.3 points since May 18, 2023
90%50%10%1%

What each source reports

NVD Score used 7.8

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

Record
CVE-2023-31722
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
CVE List 7.8

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

Record
CVE-2023-31722
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
EUVDEUVD-2023-36013 7.8

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

Record
EUVD-2023-36013
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-8wfr-mc87-9vq6 7.8

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

Record
GHSA-8wfr-mc87-9vq6
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSV 7.8

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

Record
CVE-2023-31722
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2023-31722 7.8

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

Record
DEBIAN-CVE-2023-31722
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-2623 7.8

nasm security update

NASM is the Netwide Assembler, a free portable assembler for the Intel 80x86 microprocessor series, using primarily the traditional Intel instruction mnemonics and syntax. It also provides tools in RDOFF binary format, includes linker, library manager, loader, and information dump.

Security Fix(es):

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).(CVE-2023-31722)

Record
OESA-2025-2623
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-31722 7.8

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

Record
UBUNTU-CVE-2023-31722
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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

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
openEuler:24.03-LTS-SP1
before 2.16.01-2.oe2403sp1
2.16.01-2.oe2403sp1
nasm
openEuler:24.03-LTS-SP2
before 2.16.01-2.oe2403sp2
2.16.01-2.oe2403sp2
nasm
openEuler:20.03-LTS-SP4
before 2.15.05-3.oe2003sp4
2.15.05-3.oe2003sp4
nasm
openEuler:22.03-LTS-SP3
before 2.15.05-8.oe2203sp3
2.15.05-8.oe2203sp3
nasm
openEuler:22.03-LTS-SP4
before 2.15.05-8.oe2203sp4
2.15.05-8.oe2203sp4
nasm
openEuler:24.03-LTS
before 2.16.01-2.oe2403
2.16.01-2.oe2403
nasm
Ubuntu:Pro:22.04:LTS
before 2.15.05-1ubuntu0.1~esm1, plus listed versions
2.15.05-1
2.15.05-1ubuntu0.1~esm1
Show 4 moreShow less
Affected packages
PackageAffectedFixed
nasm
Ubuntu:Pro:24.04:LTS
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: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

History

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

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

In short

CVE-2023-31722 is a high vulnerability (CVSS 7.8) in Nasm Netwide Assembler, published May 17, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 28th percentile. Fixed in nasm 2.16.01-2.oe2403sp1.

References

Show 5 moreShow less
MoveEnter Open