Two vulnerabilities have been reported in NASM, which potentially can be exploited by malicious people to compromise a user's system.
1) An off-by-one error exists 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.
2) A boundary error within the "list_output()" function in listing.c can be exploited to cause a stack-based buffer overflow with 4 bytes.
NOTE: 0.x versions are not affected by this vulnerability.
Successful exploitation of the vulnerabilities may allow execution of arbitrary code.
Solution: Update to version 2.03.01 or later.
Provided and/or discovered by: 1, 2) Reported by Philipp Thomas in NASM bug reports.
Original Advisory: 1) https://sourceforge.net/tracker/?func=detail&atid=106208&aid=1942146&group_id=6208
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com
Subject: NASM Two Buffer Overflow Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.