He or she has apparently never seen a farrier and/or a vet.
It's hard to tell if the legs have growth issues or the hooves are so long it just looks that way. Some photos on a flat surface and showing the horse from the side would be very helpful. But I would start with getting the feet trimmed. Even if the legs are okay otherwise, they are so overgrown that I would be afraid with a foal the limb deviations could be permanent because he/she is still growing and the growth plates in the legs can be affected.