cve.bz

CVE-2016-4491 gnu libiberty

5.5 mediumEPSS 1.8%Fix available

Medium (5.5) in gnu libiberty. EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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."

Severity

CVSS 3.0

5.5 medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-4491 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-4491?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-4491?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-4491 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14binutils2.28-3DEBIAN-CVE-2016-4491
Debian12, 13, 14libiberty20170627-1DEBIAN-CVE-2016-4491
Ubuntu14.04:LTSgdb7.7.1-0ubuntu5~14.04.3UBUNTU-CVE-2016-4491 USN-3367-1
Ubuntu14.04:LTSlibiberty20131116-1ubuntu0.2UBUNTU-CVE-2016-4491 USN-3368-1
Ubuntu14.04:LTSvalgrind1:3.10.1-1ubuntu3~14.5UBUNTU-CVE-2016-4491 USN-3337-1
Ubuntu16.04:LTSgdb7.11.1-0ubuntu1~16.5UBUNTU-CVE-2016-4491 USN-3367-1
Ubuntu16.04:LTSht, sdcc, nescc and 4 moreno fix listedUBUNTU-CVE-2016-4491
Ubuntu16.04:LTSlibiberty20160215-1ubuntu0.2UBUNTU-CVE-2016-4491 USN-3368-1
Ubuntu16.04:LTSvalgrind1:3.11.0-1ubuntu4.2UBUNTU-CVE-2016-4491 USN-3337-1
Ubuntu18.04:LTSsdcc, nescc, gcc-h8300-hms and 2 moreno fix listedUBUNTU-CVE-2016-4491
Ubuntu20.04:LTS, 22.04:LTSnescc, gcc-h8300-hms, binutils-h8300-hmsno fix listedUBUNTU-CVE-2016-4491
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moregcc-h8300-hms, binutils-h8300-hmsno fix listedUBUNTU-CVE-2016-4491
UbuntuPro:14.04:LTSbinutilsno fix listedUBUNTU-CVE-2016-4491
UbuntuPro:16.04:LTSbinutils2.26.1-1ubuntu1~16.04.8+esm1UBUNTU-CVE-2016-4491 USN-4336-2

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5binutilsWill not fix
Red Hat Enterprise Linux 5binutils220Will not fix
Red Hat Enterprise Linux 5compat-gcc-295Will not fix
Red Hat Enterprise Linux 5compat-gcc-296Will not fix
Red Hat Enterprise Linux 5compat-gcc-32Will not fix
Red Hat Enterprise Linux 5compat-gcc-34Will not fix
Red Hat Enterprise Linux 5gccWill not fix
Red Hat Enterprise Linux 5gcc44Will not fix
Red Hat Enterprise Linux 5gdbWill not fix
Red Hat Enterprise Linux 6binutilsWill not fix
Red Hat Enterprise Linux 6compat-gcc-295Will not fix
Red Hat Enterprise Linux 6compat-gcc-296Will not fix
Red Hat Enterprise Linux 6compat-gcc-32Will not fix
Red Hat Enterprise Linux 6compat-gcc-34Will not fix
Red Hat Enterprise Linux 6gccWill not fix
Red Hat Enterprise Linux 6gdbWill not fix
Red Hat Enterprise Linux 7binutilsWill not fix
Red Hat Enterprise Linux 7compat-gcc-32Will not fix
Red Hat Enterprise Linux 7compat-gcc-34Will not fix
Red Hat Enterprise Linux 7compat-gcc-44Will not fix
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-4491.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON