decode_line_info in dwarf2.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29, mishandles a length calculation, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted ELF file, related to read_1_byte.
The product reads data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://www.exploit-db.com/exploits/42970/ | exploit |
https://blogs.gentoo.org/ago/2017/09/26/binutils-heap-based-buffer-overflow-in-read_1_byte-dwarf2-c/ | patch third party advisory vdb entry |
http://www.securityfocus.com/bid/101216 | vdb entry |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Bh=515f23e63c0074ab531bc954f84ca40c6281a724 | |
https://sourceware.org/bugzilla/show_bug.cgi?id=22169 | patch third party advisory issue tracking |