Adobe Photoshop is prone to an overflow condition. The photoshop.exe file fails to properly sanitize user-supplied input when decompressing a SGI24LogLum compressed TIFF image, which will result in a heap-based buffer overflow. With a specially crafted TIFF iamge, a context-dependent attacker can potentially execute arbitrary code.
Upgrade to version 12.0.5 or higher for CS5, 12.1.1 or higher for CS5.1, or 13.0.1 or higher for CS6, as they have been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.