CVE-2018-18700: Medium severity GNU binutils vulnerability

Published Oct 27, 2018
·
Updated

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 dname(), dencoding(), and dlocalname() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file, as demonstrated by nm.

Other sources

GNU Binutils is vulnerable to a denial of service, caused by a stack consumption in cp-demangle.c in GNU libiberty. By persuading a victim to open a specially-crafted file, a remote attacker could exploit this vulnerability to cause the application to crash.

IBM

Affected Software

2 affected componentsFixes available
GNU binutils=2.31
debian/binutils
2.35.2-22.40-22.44-32.46-3

Event History

Oct 27, 2018
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:57 PM
Description
May 2, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Feb 23, 2026
Data Sourced
via Ubuntu·05:30 PM
RemedyDescriptionSeverityAffected Software
Mar 11, 2026
Data Sourced
via Debian·05:44 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID is CVE-2018-18700.

2

What software is affected by this vulnerability?

The affected software includes GNU Binutils versions 2.31 and older.

3

What is the severity of CVE-2018-18700?

The severity of CVE-2018-18700 is not specified in the provided information.

4

How can I fix the vulnerability in GNU Binutils?

You can fix the vulnerability in GNU Binutils by updating to a version newer than 2.31.

5

Are there any references for further information about this vulnerability?

Yes, you can find more information about this vulnerability at the following references: [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87681](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87681), [https://usn.ubuntu.com/4326-1/](https://usn.ubuntu.com/4326-1/), [https://usn.ubuntu.com/4336-1/](https://usn.ubuntu.com/4336-1/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203