Wild. I wonder what could cause that?
I don't use a lot of AA/AAA batteries, so I'll buy a pack from Costco and it'll sit in my drawer for 5+ years without issue. They go into a TV remote or bathroom scale or whatever and last a couple years with no issue.
The only time this happens to me is when there is a drain on the battery over a long time, or when you have two cells that don't have matching voltage and the lower one gets over-discharged. I've never had one go bad from sitting in a drawer or a box.
It’s always in a device. Typically low power, long duration (remotes, etc.)