Bug 2210211 (CVE-2023-31722)

Summary: CVE-2023-31722 nasm: heap buffer overflow in expand_mmacro() asm/preproc.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: nickc, sipoyare
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A heap-based buffer overflow issue was discovered in Nasm's expand_mmacro() function, in the asm/preproc.c file. This issue could allow an attacker to trick a user into opening a specially crafted file, triggering out-of-bounds read access, causing an application to halt or crash, leading to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2210214, 2210215, 2210216    
Bug Blocks: 2208019    

Description TEJ RATHI 2023-05-26 05:55:38 UTC
There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

https://bugzilla.nasm.us/show_bug.cgi?id=3392857

Comment 1 TEJ RATHI 2023-05-26 06:17:59 UTC
Created nasm tracking bugs for this issue:

Affects: fedora-all [bug 2210214]