Yes, Photoshop has a lens correction filter. This filter can be found under the Filter > Distort menu.
Lens correction can fix a number of lens-related problems, such as barrel and pincushion distortion, vignetting, and chromatic aberration.
Barrel distortion is when the image appears to be curved outward, like the shape of a barrel. This type of distortion is typically caused by wide-angle lenses.
Pincushion distortion is the opposite of barrel distortion—the image appears to be curved inward. This type of distortion is usually caused by telephoto lenses.
Vignetting is when the corners of an image are darker than the rest of the image. This is usually caused by the camera lens being unable to gather as much light in the corners as it does in the center.
Chromatic aberration is when there are color fringes around the edges of objects in an image. This is usually caused by the lens not being able to focus all colors to the same point.
The lens correction filter can help fix all of these problems. To use it, simply select the area you want to fix and then click on the filter. Photoshop will automatically correct for any lens distortions.