1. Skip to navigation
  2. Skip to content
  3. Skip to secondary-content




NASM "ppscan()" Off-By-One Vulnerability

Report ID: SA30594
Source: Secunia
Date of Discovery: 11.06.2008
Criticality: Low
Affects:
NASM (Netwide Assembler) 0.x
NASM (Netwide Assembler) 2.x

Compromise From: From remote
Compromise Type: System access

Summary

A vulnerability has been reported in NASM, which potentially can be exploited by malicious people to compromise a user's system.

Detailed Description

A vulnerability has been reported in NASM, which potentially can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to an off-by-one error within the "ppscan()" function in preproc.c. This can be exploited to cause a stack-based buffer overflow with a zero byte by tricking the user into assembling a specially crafted ASM file.

Successful exploitation may allow execution of arbitrary code.

Solution

Update to version 2.03.