CVE-2018-9138: Medium severity GNU binutils vulnerability

Published Mar 30, 2018
·
Updated

An issue was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.29 and 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demanglenestedargs, demangleargs, doarg, and dotype.

Affected Software

3 affected componentsFixes available
GNU binutils=2.29
GNU binutils=2.30
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

Event History

Mar 30, 2018
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description
Data Sourced
via NVD·08:29 AM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:11 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-9138?

CVE-2018-9138 is a vulnerability in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.29 and 2.30.

2

How severe is CVE-2018-9138?

CVE-2018-9138 is a high severity vulnerability.

3

How does CVE-2018-9138 work?

CVE-2018-9138 allows for stack exhaustion in the C++ demangling functions provided by libiberty, leading to recursive stack frames.

4

Which software is affected by CVE-2018-9138?

The affected software includes GNU Binutils versions 2.29 and 2.30.

5

How can I fix CVE-2018-9138?

To fix CVE-2018-9138, update to the recommended versions of binutils and libiberty as provided by the official sources.

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