NASM Netwide Assember 2.17rc0 preproc.c do_directive use after free
Summary
A vulnerability categorized as critical has been discovered in NASM Netwide Assember 2.17rc0. This affects the function do_directive of the file preproc.c. Such manipulation leads to use after free.
This vulnerability is documented as CVE-2025-8842. The attack needs to be performed locally. Additionally, an exploit exists.
Details
A vulnerability, which was classified as critical, has been found in NASM Netwide Assember 2.17rc0. Affected by this issue is the function do_directive of the file preproc.c. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability.
The advisory is shared for download at bugzilla.nasm.us. This vulnerability is handled as CVE-2025-8842. The exploitation is known to be easy. The attack needs to be approached locally. Technical details as well as a public exploit are known.
The exploit is available at drive.google.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 259924 (Linux Distros Unpatched Vulnerability : CVE-2025-8842), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Tenable (259924). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.1VulDB Meta Temp Score: 6.0
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔒
CNA Base Score: 5.3
CNA 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: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 259924
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-8842
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
08/10/2025 Advisory disclosed08/10/2025 VulDB entry created
09/15/2025 VulDB entry last update
Sources
Advisory: 3392933Status: Not defined
CVE: CVE-2025-8842 (🔒)
GCVE (CVE): GCVE-0-2025-8842
GCVE (VulDB): GCVE-100-319376
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/10/2025 06:01 PMUpdated: 09/15/2025 05:43 PM
Changes: 08/10/2025 06:01 PM (57), 08/31/2025 05:23 PM (2), 09/15/2025 05:43 PM (41)
Complete: 🔍
Submitter: xdcao
Cache ID: 244::40
Submit
Accepted
- Submit #623184: nasm NASM version 2.17rc0 compiled on Jul 20 2025 and the newest master (888d9ab) Memory Corruption (by xdcao)
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.