CVE-2016-4491

gcc: Stack overflow due to infinite recursion in d_print_comp

Published Feb 24, 2017 CVSS 3.0 · 5.5 Medium EPSS 1.8% KEV · Not listed
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."

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2016-5478 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."
Ubuntu USN Ubuntu USN USN-3337-1 Valgrind vulnerabilities
Ubuntu USN Ubuntu USN USN-3367-1 gdb vulnerabilities
Ubuntu USN Ubuntu USN USN-3368-1 libiberty vulnerabilities
Ubuntu USN Ubuntu USN USN-4336-2 GNU binutils vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.0052}

epss

{'score': 0.00475}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 12:32 AM
Reserved
May 5, 2016, 12:00 AM
Status
Modified
Published
Feb 24, 2017, 8:59 PM
Modified
Jun 17, 2026, 12:47 AM
Severity
Low
Public date
May 2, 2016, 12:00 AM