A .desktop file in the Debian openjdk-7 package 7u79-2.5.5-1~deb8u1 includes a MIME type registration that is added to /etc/mailcap by mime-support, which allows remote attackers to execute arbitrary code via a JAR file.
http://www.debian.org/security/2015/dsa-3235
http://www.debian.org/security/2015/dsa-3316