Bulging MacBook Pro Battery

Normally I swap between two different batteries when using my MacBook Pro. Today I opened a drawer to my desk to fetch one of the batteries and found a bulging surprise waiting for me. From the photos below you can see the results of some type of internal reaction.

Luckily, the reaction wasn't enough to burst the battery or start a fire. Thankfully, the battery wasn't in my laptop at the time.