It depends on how badly damaged they are. No software can fix things it can't read.
I know this sounds crazy, and would onlu use it as a LAST resort, but it can work.
1) Get a very fine soft cloth
2) Put a small quantity of Brasso on the cloth
3) VERY GENTLY clean the entire cd in a circular motion.
4) Rinse ALL traces of the vrasso from the cd, and gently wipe dry.
It sounds nuts, but it does work....If they are really badly damaged though, nothing will, and buying new copies is your only option.