Bug 1663906 (CVE-2018-1000886) - CVE-2018-1000886 nasm: Buffer overflow in asm/stdscan.c:130 resulting in a denial of service
Summary: CVE-2018-1000886 nasm: Buffer overflow in asm/stdscan.c:130 resulting in a de...
Keywords:
Status: ASSIGNED
Alias: CVE-2018-1000886
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 1663909 1671491 1671492
Blocks: 1663910
TreeView+ depends on / blocked
 
Reported: 2019-01-07 09:52 UTC by Andrej Nemec
Modified: 2023-07-07 08:32 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2019-01-07 09:52:11 UTC
A buffer overflow vulnerability was found in nasm. A specially crafted file could trigger endless macro generation and cause the application to crash.

Upstream issue:

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

Comment 1 Andrej Nemec 2019-01-07 09:54:56 UTC
Created nasm tracking bugs for this issue:

Affects: fedora-all [bug 1663909]

Comment 2 Nick Clifton 2019-01-17 10:36:22 UTC
Setting devel cond nak - waiting on 2.15 release upstream.

Comment 3 Scott Gayou 2019-01-29 16:10:52 UTC
Yep. Simple segfault / denial of service. Reproducible in Red Hat Enterprise 7. Unable to reproduce on Red Hat Enterprise 5 and 6.

```
$ time nasm poc
...
poc:14: error: macro call expects terminating `)'
poc:14: error: macro call expects terminating `)'
poc:14: error: macro call expects terminating `)'
poc:14: error: interminable macro recursion
Segmentation fault

real	1m24.913s

Very low impact.


Note You need to log in before you can comment on or make changes to this bug.