CVE-2016-4491

NameCVE-2016-4491
DescriptionThe 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."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
binutils (PTS)jessie, jessie (lts)2.25-5+deb8u2vulnerable
stretch (lts), stretch2.28-5+deb9u1fixed
buster, buster (lts)2.31.1-16+deb10u1fixed
bullseye2.35.2-2fixed
bookworm2.40-2fixed
sid, trixie2.43.1-5fixed
libiberty (PTS)jessie20141014-1vulnerable
stretch20161220-1vulnerable
buster20190122-1fixed
bullseye20210106-1fixed
bookworm20230104-1fixed
sid, trixie20240117-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
binutilssource(unstable)2.28-3low
libibertysource(unstable)20170627-1low

Notes

[jessie] - binutils <ignored> (Minor issue)
[wheezy] - binutils <no-dsa> (Minor issue)
[stretch] - libiberty <ignored> (Minor issue)
[jessie] - libiberty <ignored> (Minor issue)
[wheezy] - libiberty <ignored> (Minor issue)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909
https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00105.html
https://gcc.gnu.org/viewcvs?rev=247056&root=gcc&view=rev

Search for package or bug name: Reporting problems