Bug 1559905 (CVE-2018-8881) - CVE-2018-8881 nasm: Heap overflow in function tokenize in asm/preproc.c
Summary: CVE-2018-8881 nasm: Heap overflow in function tokenize in asm/preproc.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-8881
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1559910 1567395 1567396
Blocks: 1559921
TreeView+ depends on / blocked
 
Reported: 2018-03-23 14:13 UTC by Laura Pardo
Modified: 2021-10-21 19:58 UTC (History)
2 users (show)

Fixed In Version: nasm 2.13.03
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-21 19:58:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-03-23 14:13:30 UTC
Netwide Assembler (NASM) 2.13.02rc2 has a heap-based buffer over-read in the function tokenize in asm/preproc.c, related to an unterminated string.


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

Patch:
https://github.com/cyrillos/nasm/commit/3144e84add8b152cc7a71e44617ce6f21daa4ba3

Comment 3 Pedro Yóssis Silva Barbosa 2018-04-16 18:41:34 UTC
Based on the description, this issue affects nasm shipped by Red Hat Enterprise Linux 6 and 7. However, the reproducer attached in https://bugzilla.nasm.us/show_bug.cgi?id=3392446 did not work here.


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