This just happened to me too. My truck has some rust but it wasn't causing any issues until about 2 weeks ago. I started to notice small puddles of transmission fluid under the car. Took it to the mechanic and he mentioned that two lines were rusted.
The issue is getting corrected now...