malware or not malware...phone have poor heatsink and every phone can overheat. Secondary, all phone batteries doesn't like 24/7 heating
Dump the battery and run with charger, set a fan up to cool your phones, dump 20-30 of them in an mineral oil tank to cool them, take the plastic shell off to help with cooling etc etc. Like I said "if you know what you're doing".