Note that if you're willing to deal with the fallout, you can double the yield of a design like the Tsar Bomba by switching the fusion tamper from lead to U238. I'd suspect the SS-9/18 family 25 Mt warheads achieved their yield by using the latter due to the weight savings (a bit more weight doubles your yield, and if it's exploding on enemy territory...).
Note that if you're willing to deal with the fallout, you can double the yield of a design like the Tsar Bomba by switching the fusion tamper from lead to U238. I'd suspect the SS-9/18 family 25 Mt warheads achieved their yield by using the latter due to the weight savings (a bit more weight doubles your yield, and if it's exploding on enemy territory...).