Leaking AA & AAA Batteries

I just took some AA Rayovac batteries out of a tool I hadn’t used in years. They expire in 2025. They were still full voltage and not leaking. Looks like I need to start looking for old batteries…..