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

Affected Software

2 affected componentsFixes available
GNU binutils=2.31
debian/binutils
2.35.2-22.40-22.44-32.46.90.20260712-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/binutils to a version that resolves this vulnerability.

    Fixed in 2.35.2-2Fixed in 2.40-2Fixed in 2.44-3Fixed in 2.46.90.20260712-1
  2. Upgrade

    Upgrade GNU Binutils (libiberty cp-demangle.c) to a version that resolves this vulnerability.

    Fixed in 2.31

Event History

Oct 27, 2018
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Oct 29, 2018
Data Sourced
via NVD·12:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:57 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·04:34 PM
RemedyDescriptionSeverityAffected Software
Jul 18, 2026
Data Sourced
via Debian·11:27 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2018-18701?

CVE-2018-18701 is a stack consumption vulnerability in GNU libiberty, as distributed in GNU Binutils 2.31.

2

How does CVE-2018-18701 affect me?

CVE-2018-18701 allows remote attackers to cause a denial of service (DoS) by leveraging the vulnerability.

3

Which software versions are affected by CVE-2018-18701?

Versions 2.26.1-1ubuntu1~16.04.8+ and 2.30-21ubuntu1~18.04.3 of binutils, and versions 20170913-1ubuntu0.1, 20190122-1, and 20160215-1ubuntu0.3 of libiberty are affected by CVE-2018-18701.

4

How can I fix CVE-2018-18701?

To fix CVE-2018-18701, update to the patched versions of binutils and libiberty.

5

Where can I find more information about CVE-2018-18701?

You can find more information about CVE-2018-18701 at the following references: [link1], [link2], [link3].

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