Specifically, that appears to be JB Weld. I HATE JB Weld for reasons like this. Whoever did the repair meant well, but used the worst stuff possible.
You can see some here where someone attempted to repair worm damage to a percussion rifle.
It's very difficult to remove.