CVE-2018-18700 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 d_name(),....
MediumCVSS 5.5
EPSS 1.7%
- 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 vulnerability resulting from infinite recursion in the functions d_name(), d_encoding(), and d_local_name() 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 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-18700 vendor-advisory
- gcc.gnu.org exploit issue-tracking vendor-advisory
- USN-4326-1 vendor-advisory
- USN-4336-1 vendor-advisory