The solution or proposed solution to a problem produces a worse net result than the problem does (or threatens a non-negligible risk of doing so), especially via unintended consequences
The medical treatment for an illness produces a worse net result than the illness does (or threatens a non-negligible risk of doing so), especially via adverse effects