CVE-2025-8843
Linux Debian vulnerability analysis and mitigation

Overview

A heap buffer overflow vulnerability has been discovered in NASM (Netwide Assembler) version 2.17rc0, identified as CVE-2025-8843. The vulnerability affects the machonodead_strip function in the outmacho.c file, which is responsible for handling Mach-O output format. The issue was discovered on August 11, 2025, and requires local access to exploit (NVD, Ubuntu).

Technical details

The vulnerability is caused by insufficient bounds checking when processing Mach-O pragma directives. The issue occurs in the machonodeadstrip function at line 1774, where a string buffer is allocated for only 4 bytes but the program attempts to read beyond its boundaries at offset 0x6020000037b4. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L ([NASM Bug](https://bugzilla.nasm.us/showbug.cgi?id=3392934)).

Impact

The heap buffer overflow vulnerability can lead to memory corruption and potential program crashes. The impact is rated as medium severity, affecting the confidentiality, integrity, and availability of the system with low impact levels. Local access is required to exploit this vulnerability (NVD).

Mitigation and workarounds

The vulnerability affects NASM version 2.17rc0 and the master branch (commit 888d9ab). As of the initial disclosure, the status is marked as OPEN and requires evaluation across various platforms including Ubuntu distributions from 16.04 LTS to 25.04 (Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40289N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40288N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40287N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40286N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40285N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management