NASM up to 2.15.04 File asm/nasm.c quote_for_pmake buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.5VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Buffer overflowCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 238225
Nessus Name: EulerOS 2.0 SP12 : nasm (EulerOS-SA-2025-1602)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: NASM 2.15.05
Timeline
04/25/2022 🔍08/23/2023 🔍
08/23/2023 🔍
05/23/2026 🔍
Sources
Advisory: gcc.gnu.orgStatus: Confirmed
CVE: CVE-2022-29654 (🔍)
GCVE (CVE): GCVE-0-2022-29654
GCVE (VulDB): GCVE-100-237844
EUVD: 🔍
Entry
Created: 08/23/2023 11:36Updated: 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.
No comments yet. Languages: en.
Please log in to comment.