NASM up to 2.15.04 File asm/nasm.c quote_for_pmake buffer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.4$0-$5k0.00

Summaryinfo

A vulnerability described as critical has been identified in NASM up to 2.15.04. This affects the function quote_for_pmake of the file asm/nasm.c of the component File Handler. Executing a manipulation can lead to buffer overflow. The identification of this vulnerability is CVE-2022-29654. There is no exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability classified as problematic was found in NASM up to 2.15.04 (Programming Tool Software). This vulnerability affects the function quote_for_pmake of the file asm/nasm.c of the component File Handler. The manipulation with an unknown input leads to a buffer overflow vulnerability. The CWE definition for the vulnerability is CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. As an impact it is known to affect availability. CVE summarizes:

Buffer overflow vulnerability in quote_for_pmake in asm/nasm.c in nasm before 2.15.05 allows attackers to cause a denial of service via crafted file.

The weakness was shared 08/23/2023. The advisory is shared for download at gcc.gnu.org. This vulnerability was named CVE-2022-29654 since 04/25/2022. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 238225 (EulerOS 2.0 SP12 : nasm (EulerOS-SA-2025-1602)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 2.15.05 eliminates this vulnerability. The upgrade is hosted for download at nasm.us.

The vulnerability is also documented in the databases at Tenable (238225) and EUVD (EUVD-2022-33980). Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.5
VulDB Meta Temp Score: 4.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Buffer overflow
CWE: CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 238225
Nessus Name: EulerOS 2.0 SP12 : nasm (EulerOS-SA-2025-1602)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: NASM 2.15.05

Timelineinfo

04/25/2022 🔍
08/23/2023 +485 days 🔍
08/23/2023 +0 days 🔍
05/23/2026 +1004 days 🔍

Sourcesinfo

Advisory: gcc.gnu.org
Status: Confirmed

CVE: CVE-2022-29654 (🔍)
GCVE (CVE): GCVE-0-2022-29654
GCVE (VulDB): GCVE-100-237844
EUVD: 🔍

Entryinfo

Created: 08/23/2023 11:36
Updated: 05/23/2026 03:16
Changes: 08/23/2023 11:36 (43), 09/16/2023 13:29 (11), 06/12/2025 19:58 (17), 05/23/2026 03:16 (1)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!