The get_count function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31, allows remote attackers to cause a denial of service (malloc called with the result of an integer-overflowing calculation) or possibly have unspecified other impact via a crafted string, as demonstrated by c++filt.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/105689 | vdb entry third party advisory |
https://sourceware.org/bugzilla/show_bug.cgi?id=23767 | issue tracking exploit third party advisory |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87602 | issue tracking exploit third party advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00072.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00008.html | vendor advisory |
https://usn.ubuntu.com/4326-1/ | vendor advisory |
https://usn.ubuntu.com/4336-1/ | vendor advisory |