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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
binutils (PTS)wheezy2.22-8+deb7u2vulnerable
wheezy (security)2.22-8+deb7u3vulnerable
jessie2.25-5vulnerable
stretch, sid2.28-2vulnerable
gdb (PTS)wheezy7.4.1+dfsg-0.1vulnerable
jessie7.7.1+dfsg-5vulnerable
stretch, sid7.12-6vulnerable
ht (PTS)wheezy2.0.20-2vulnerable
jessie2.0.22-2vulnerable
stretch, sid2.1.0+repack1-2vulnerable
libiberty (PTS)jessie20141014-1vulnerable
stretch, sid20161220-1vulnerable
valgrind (PTS)wheezy1:3.7.0-6vulnerable
jessie1:3.10.0-4vulnerable
stretch1:3.12.0~svn20160714-1vulnerable
sid1:3.12.0-1.1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
binutilssource(unstable)(unfixed)low
gdbsource(unstable)(unfixed)low
htsource(unstable)(unfixed)low
libibertysource(unstable)(unfixed)low
valgrindsource(unstable)(unfixed)low

Notes

[jessie] - valgrind <no-dsa> (Minor issue)
[wheezy] - valgrind <no-dsa> (Minor issue)
[jessie] - ht <no-dsa> (Minor issue)
[wheezy] - ht <no-dsa> (Minor issue)
[jessie] - binutils <no-dsa> (Minor issue)
[wheezy] - binutils <no-dsa> (Minor issue)
[jessie] - gdb <no-dsa> (Minor issue)
[wheezy] - gdb <no-dsa> (Minor issue)
[jessie] - libiberty <no-dsa> (Minor issue)
[wheezy] - libiberty <no-dsa> (Minor issue)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909
https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00105.html

Search for package or bug name: Reporting problems