Array index error in Dock in Apple OS X before 10.9.4 allows attackers to execute arbitrary code or cause a denial of service (incorrect function-pointer dereference and application crash) by leveraging access to a sandboxed application for sending a message.
http://www.securitytracker.com/id/1030505
http://support.apple.com/kb/HT6296
http://secunia.com/advisories/59475
http://archives.neohapsis.com/archives/bugtraq/2014-06/0172.html