jarsigner in OpenJDK and Oracle Java SE before 7u51 allows remote attackers to bypass a code-signing protection mechanism and inject unsigned bytecode into a signed JAR file by leveraging improper file validation.
https://bugzilla.redhat.com/show_bug.cgi?id=1031471
https://access.redhat.com/errata/RHSA-2014:0414
http://www.openwall.com/lists/oss-security/2015/02/09/9