CVE-2025-8846 NASM Netwide Assember parser.c parse_line stack-based overflow
A stack-based buffer overflow in the NASM assembler allows local attackers to execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-8846?
CVE-2025-8846 is a medium-severity memory corruption vulnerability in Nasm Netwide Assembler, published on 11 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability has been found in NASM Netwide Assember 2.17rc0. Affected is the function parse_line of the file parser.c. The manipulation leads to stack-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-8846?
It affects 1 product.
Products include Nasm Netwide Assembler.
How do I fix CVE-2025-8846?
No fix has been published for CVE-2025-8846 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-8846 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8846 exists.
Other vulnerabilities in Nasm Netwide Assembler
Sources
Also known as AZL-66264, AZL-66288, DEBIAN-CVE-2025-8846, GHSA-9frv-6ff8-9gv9, UBUNTU-CVE-2025-8846.