Name | CVE-2016-4491 |
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." |
Source | CVE (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 Package | Release | Version | Status |
---|
binutils (PTS) | jessie, jessie (lts) | 2.25-5+deb8u2 | vulnerable |
| stretch (lts), stretch | 2.28-5+deb9u1 | fixed |
| buster, buster (lts) | 2.31.1-16+deb10u1 | fixed |
| bullseye | 2.35.2-2 | fixed |
| bookworm | 2.40-2 | fixed |
| trixie | 2.43.50.20241215-1 | fixed |
| sid | 2.43.50.20241221-1 | fixed |
libiberty (PTS) | jessie | 20141014-1 | vulnerable |
| stretch | 20161220-1 | vulnerable |
| buster | 20190122-1 | fixed |
| bullseye | 20210106-1 | fixed |
| bookworm | 20230104-1 | fixed |
| sid, trixie | 20241020-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
binutils | source | (unstable) | 2.28-3 | low | | |
libiberty | source | (unstable) | 20170627-1 | low | | |
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