Buffer overflow in GNU Libiberty
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 a buffer overflow, related to a node having "itself as ancestor more than once."
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.018, 78.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, fokypoky/places-list, mrash/afl-cve, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- gcc.gnu.org/bugzilla/show_bug.cgi (Issue Tracking)
- [oss-security] 20160505 Re: CVE Request: No Demangling During Analysis of Untrusted Binaries (mailing-list, Patch, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/90016 (vdb-entry)
- [gcc-patches] 20160502 Fix for PR70909 in Libiberty Demangler (4) (Vendor Advisory, mailing-list, Patch)