CVE-2016-4491 The d_print_comp function in cp-demangle.c in libiberty allows remote attackers to cause a denial of service (segmentation fault and crash) via a crafted binary, which triggers infinite recursion and....
MediumCVSS 5.5
EPSS 1.8%
- Published
- Updated
- Exploit status
- No public exploit known
Description
The d_print_comp function in cp-demangle.c in libiberty allows remote attackers to cause a denial of service (segmentation fault and crash) via a crafted binary, which triggers infinite recursion and a buffer overflow, related to a node having "itself as ancestor more than once."
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/binutils(Debian:12) | < 2.28-3 | 2.28-3 |
| debian/binutils(Debian:13) | < 2.28-3 | 2.28-3 |
| debian/binutils(Debian:14) | < 2.28-3 | 2.28-3 |
| debian/libiberty(Debian:12) | < 20170627-1 | 20170627-1 |
| debian/libiberty(Debian:13) | < 20170627-1 | 20170627-1 |
| debian/libiberty(Debian:14) | < 20170627-1 | 20170627-1 |
| GNU libiberty | All versions | No fix listed |
| ubuntu/binutils-h8300-hms(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-h8300-hms(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/binutils-h8300-hms(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-h8300-hms(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/binutils-h8300-hms(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-h8300-hms(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/binutils-h8300-hms(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-h8300-hms(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/nescc(Ubuntu:22.04) | All versions | No fix listed |
References
- Ubuntu CVE tracker vendor-advisory
- USN-3337-1 vendor-advisory
- USN-3368-1 vendor-advisory
- USN-3367-1 vendor-advisory
- USN-4336-2 vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2016-4491 vendor-advisory
- [oss-security] 20160505 Re: CVE Request: No Demangling During Analysis of Untrusted Binaries mailing-list patch third-party-advisory
- 90016 vdb-entry
- gcc.gnu.org issue-tracking
- [gcc-patches] 20160502 Fix for PR70909 in Libiberty Demangler (4) mailing-list patch vendor-advisory