Disclosed details and published an exploit for a vulnerability (CVE-2026-58882) in the Android platform, which allows you to achieve a loopy reboot by sending a specially designed SMS message. To eliminate the reboot loop, a factory reset or manual manipulation using the ADB utility is required. The vulnerability was codenamed "SMS of Death" and fixed in the October update of the AOSP repository. Device manufacturers gained access to the patch in July. The attack can be carried out on any phones equipped with Android 12-17. The update is released only for Android 14-17. The SMS message that exploits the vulnerability is processed as a background message and is not displayed on the device. The attack does not require any user action to be carried out.
The issue is caused by an uncontrolled type cast when processing an incorrect WAP Push message header sent via SMS. The overflow occurs because the header-size field is cast from an unsigned value (uintvar) to a 32-bit signed int without proper bounds checking. Because of the cast from a 64-bit long to a 32-bit int in Java, the protocol-correct value 0x80000000 is interpreted as the negative number -2147483648 in the headerLength variable. This variable is subsequently used when allocating memory through the call “new byte[headerLength]”, which, if a negative number is received, leads to an exception being generated and the com.android.phone process crashing.
After a few seconds the process restarts, but the effect is not limited to a momentary interruption of communication. The problematic WAP Push message continues to be in the unprocessed message queue due to an abnormal termination, and a new attempt to process it leads to another abnormal termination of the com.android.phone process.
After a series of such crashes, the RescueParty handler is triggered, which reboots the device into Recovery mode, which offers a factory reset. A simple reboot does not help - if the problematic message is not removed from the queue, after about 90 seconds the device will reboot again.
To remove a message from the queue without resetting to factory settings , it is suggested to use the adb utility:
adb shell content query --uri content://sms/raw --projection _id:destination_port:date:deleted adb shell cmd appops set com.android.shell WRITE_SMS allow adb shell "content delete --uri content://sms/raw --where \"address='<SENDER>'\"" adb shell cmd appops set com.android.shell WRITE_SMS default adb shell pm clear com.android.providers.telephony
But this will only allow you to remove the SIM card, boot and install the firmware update. Since, due to the abnormal termination of the "com.android.phone" process, confirmation of processing of the WAP Push message is not sent to the telecom operator, it will make new sending attempts before the timeout expires and the situation will repeat. In the tests carried out, repeated sendings lasted from a day to a week. For devices whose manufacturers have stopped publishing firmware updates, there is no workaround for blocking the problem yet, other than contacting the telecom operator with a request to block the transmission of WAP Push messages on its side.
💬 Discussion 0
BBCode & Emoji supportedParticipate in discussions, ask authors questions, and share benchmarks by joining the ProArena engineering community.