Multiple integer overflows in minzip/SysUtil.c in the Recovery Procedure in Android 5.0.x before 5.0.2 5.1.x before 5.1.1 and 6.x before 2016-04-01 allow attackers to gain privileges via a crafted application as demonstrated by obtaining Signature or SignatureOrSystem access aka internal bug 26960931.