CVE-2025-8843 NASM Netwide Assember outmacho.c macho_no_dead_strip heap-based overflow

Medium 4.8 Published Updated

A heap-based buffer overflow in NASM allows local attackers to execute arbitrary code or cause denial of service via crafted input.

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-8843?

CVE-2025-8843 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 was found in NASM Netwide Assember 2.17rc0. This affects the function macho_no_dead_strip of the file outmacho.c. The manipulation leads to heap-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.

Weakness: CWE-122, CWE-787, CWE-119

Which versions are affected by CVE-2025-8843?

It affects 1 product.

Products include Nasm Netwide Assembler.

How do I fix CVE-2025-8843?

No fix has been published for CVE-2025-8843 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-8843 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8843 exists.

All Nasm Netwide Assembler vulnerabilities

Sources

Also known as AZL-66210, AZL-66233, DEBIAN-CVE-2025-8843, GHSA-fr9x-hqv8-c4hf, UBUNTU-CVE-2025-8843.

Is CVE-2025-8843 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free