CVE-2016-4491: Buffer Overflow

Published Feb 24, 2017
·
Updated

Last updated 24 July 2024

Other sources

The dprintcomp 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 Software

3 affected componentsFixes available
GNU Libiberty
debian/binutils
2.35.2-22.40-22.44-3
debian/libiberty
20210106-120230104-120250315-1

Event History

Feb 24, 2017
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via NVD·08:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:19 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:14 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2016-4491?

CVE-2016-4491 is a vulnerability in the d_print_comp function in cp-demangle.c in libiberty that allows remote attackers to cause a denial of service (segmentation fault and crash) via a crafted binary.

2

How does CVE-2016-4491 work?

CVE-2016-4491 triggers infinite recursion and a buffer overflow in the d_print_comp function, leading to a segmentation fault and crash.

3

What software is affected by CVE-2016-4491?

CVE-2016-4491 affects the following software: binutils (versions up to 2.29), gdb (version 8.0-0ubuntu3), libiberty (versions up to 20131116-1ubuntu0.2), and valgrind (versions up to 1:3.12.0-1.1ubuntu2).

4

How can I fix CVE-2016-4491?

To fix CVE-2016-4491, upgrade binutils to version 2.29 or later, gdb to version 8.0-0ubuntu3 or later, libiberty to version 20131116-1ubuntu0.2 or later, and valgrind to version 1:3.12.0-1.1ubuntu2 or later.

5

Where can I find more information about CVE-2016-4491?

You can find more information about CVE-2016-4491 at the following references: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203