Mine did this 2 years ago. I was able to salvage the carpet. Had to replace the pad. All the trim had to be replaced. I pulled everything out, bleached the concrete floors 5 times and then washed them and let them fan dry. Had to open all the basement windows to get as much air in there as possible. Reinstalled new pad, reused the carpet after it dried, then had it professionally cleaned 2 times. All is fine and never had any issues. Was alot of work but was able to save some money insurance gave us.