binutils: Stack Exhaustion in the the C++ demangling functions provided by libiberty
Published Mar 30, 2018
5.5
MEDIUMCVSS 3.0
EPSS 1.04%
Description
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: demangle_nested_args, demangle_args, do_arg, and do_type.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
bintuils220
Not affected
Red Hat Enterprise Linux 5
binutils
Not affected
Red Hat Enterprise Linux 6
binutils
Not affected
Red Hat Enterprise Linux 7
binutils
Not affected
Red Hat Enterprise Linux 8
binutils
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | bintuils220 | Not affected | n/a |
| Red Hat Enterprise Linux 5 | binutils | Not affected | n/a |
| Red Hat Enterprise Linux 6 | binutils | Not affected | n/a |
| Red Hat Enterprise Linux 7 | binutils | Not affected | n/a |
| Red Hat Enterprise Linux 8 | binutils | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.04% (0.01045) | 62.87th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.04% (0.01045) | 62.65th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.11% (0.00115) | 45.74th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.11% (0.00115) | 44.58th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.10% (0.00097) | 38.97th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00833) | 24.58th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2018-9138 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1564291 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2018-9138
- https://sourceware.org/bugzilla/show_bug.cgi?id=23008 x_refsource_MISCIssue TrackingThird Party Advisory
- https://usn.ubuntu.com/4326-1/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/4336-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2018-9138
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-9138 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1564291 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-9138 | ||
| https://sourceware.org/bugzilla/show_bug.cgi?id=23008 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://usn.ubuntu.com/4326-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://usn.ubuntu.com/4336-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.cve.org/CVERecord?id=CVE-2018-9138 |
Change history (0)
No recorded changes yet.