Bug 1646535 (CVE-2018-18700) - CVE-2018-18700 binutils: Recursive Stack Overflow within function d_name, d_encoding, and d_local_name in cp-demangle.c
Summary: CVE-2018-18700 binutils: Recursive Stack Overflow within function d_name, d_e...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-18700
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 1646536 1646537 1646538 1646539 1650647 1654030 1654031
Blocks: 1647427
TreeView+ depends on / blocked
 
Reported: 2018-11-05 16:12 UTC by Laura Pardo
Modified: 2022-07-14 13:34 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-25 22:20:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-11-05 16:12:38 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 d_name(), d_encoding(), and d_local_name() 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=87681

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

Affects: fedora-all [bug 1646536]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1646537]

Comment 3 Scott Gayou 2018-11-27 21:56:19 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.