NASM Netwide Assember 2.17rc0 preproc.c do_directive use after free

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 6.1
VulDB 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: 🔒

CVSSv2info

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

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

Exploitinginfo

Class: Use after free
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 259924
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-8842

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔒

Timelineinfo

08/10/2025 Advisory disclosed
08/10/2025 +0 days VulDB entry created
09/15/2025 +36 days VulDB entry last update

Sourcesinfo

Advisory: 3392933
Status: 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

Entryinfo

Created: 08/10/2025 06:01 PM
Updated: 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

Submitinfo

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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!