CVE-2016-4491: libiberty - Buffer Overflow
- Cve: CVE-2016-4491
- Name: libiberty - Buffer Overflow
- 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."
- Impact: Remote attackers can cause segmentation faults and crashes, leading to denial of service.
- Remediation: Update to the latest version of libiberty or apply patches addressing this issue.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.01772
- Epss percentile: 0.78743
- Assignee: [email protected]
- Published at: 2017-02-24T20:59:00Z
- Age in days: 3560
- Modified at: 2026-06-17T00:47:39Z
- Patch available: yes
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-4491
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00105.html | Patch, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2016/05/05/5 | Mailing List, Patch, Third Party Advisory |
| https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 | Issue Tracking |
| http://www.securityfocus.com/bid/90016 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gnu:libiberty | all versions | no | nvd | /v1/products/gnu/libiberty |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts