CVE-2018-17985 An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption problem caused by the cplus_demangle_type function making recursive calls t...
MediumCVSS 5.5
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption problem caused by the cplus_demangle_type function making recursive calls to itself in certain scenarios involving many 'P' characters.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/binutils(Debian:12) | < 2.32.51.20190707-1 | 2.32.51.20190707-1 |
| debian/binutils(Debian:13) | < 2.32.51.20190707-1 | 2.32.51.20190707-1 |
| debian/binutils(Debian:14) | < 2.32.51.20190707-1 | 2.32.51.20190707-1 |
| GNU binutils | = 2.31 | No fix listed |
References
- Debian Security Tracker CVE-2018-17985 vendor-advisory
- openSUSE-SU-2019:2415 vendor-advisory
- openSUSE-SU-2019:2432 vendor-advisory
- gcc.gnu.org issue-tracking third-party-advisory
- USN-4326-1 vendor-advisory
- USN-4336-1 vendor-advisory