Spotlight in Apple OS X before 10.10.4 allows attackers to execute arbitrary commands via a crafted name of a photo file within the local photo library.
http://www.securitytracker.com/id/1032760
http://www.securityfocus.com/bid/75493
http://support.apple.com/kb/HT204942
http://lists.apple.com/archives/security-announce/2015/Jun/msg00002.html