You can buy replacement foam on ebay, it used to be possible to buy complete kits with pre-cut seals but the supplier seems to have given up selling that way.

The mirror bumper foam will probably need replacing too before it breaks up and smears over the focussing screen/mirror. The last batch of foam I bought for light seals works perfectly for that too.