(1) libdwarf/dwarf_leb.c and (2) dwarfdump/print_frames.c in libdwarf before 20161124 allow remote attackers to have unspecified impact via a crafted bit pattern in a signed leb number, aka a "negation overflow."
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 |
---|---|
https://www.prevanders.net/dwarfbug.html | third party advisory |
http://www.openwall.com/lists/oss-security/2016/11/19/6 | patch mailing list third party advisory |
http://www.securityfocus.com/bid/94491 | third party advisory vdb entry |
https://blogs.gentoo.org/ago/2016/11/19/libdwarf-negation-overflow-in-dwarf_leb-c/ | patch vdb entry exploit third party advisory |
http://www.openwall.com/lists/oss-security/2016/11/23/3 | patch mailing list third party advisory |
https://sourceforge.net/p/libdwarf/code/ci/4f19e1050cd8e9ddf2cb6caa061ff2fec4c9b5f9/#diff-5 | third party advisory |