format string vulnerabilities in c++filt

Chris Rohlf chris.rohlf@gmail.com
Thu Nov 22 17:39:00 GMT 2007


Hi,

There are two format string vulnerabilities in c++filt program of binutils.

Line 66
printf (mangled_name);

and line 71
printf (result);

These are easily demonstrated by running c++filt on a symbol with the
correct format specifiers:

$./c++filt AAA%x.AAA%x.AAA%x.AAA%x.AAA
AAAb.AAA804be40.AAA0.AAAbfbe82d0.AAA

Thanks!

chris
http://em386.blogspot.com



More information about the Binutils mailing list