Bug 1646529 (CVE-2018-18701) - CVE-2018-18701 binutils: infinite recursion in next_is_type_qual and cplus_demangle_type functions in cp-demangle.c
Summary: CVE-2018-18701 binutils: infinite recursion in next_is_type_qual and cplus_de...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-18701
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: 1645967 1645968 1646530 1646531 1646532 1646533 1650647 1654030 1654031
Blocks: 1647427
TreeView+ depends on / blocked
 
Reported: 2018-11-05 16:07 UTC by Laura Pardo
Modified: 2025-02-07 10:25 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-25 22:20:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-11-05 16:07:08 UTC
An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption vulnerability resulting from infinite recursion in the functions next_is_type_qual() and cplus_demangle_type() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file. 


References:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675

Comment 1 Laura Pardo 2018-11-05 16:08:58 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1646530]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1646531]

Comment 3 Scott Gayou 2018-11-27 21:56:16 UTC
Potentially a dupe of CVE-2018-18484, or at least the same root cause.


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