Although people lump them together, there is a difference between Anthony Weiner and DSK.
Assuming that what you read about them is true, this is my take:
Weiner’s behavior stems from a neediness; what he needs is something other than what he has; if he gets what he needs he may be cured.
DSK behavior stems from a neediness too; what he needs is exactly what he is doing. There isn’t a cure.