First revealed by a Reddit user on Tuesday, the bug works as follows: Someone texts you a message with a specific string of Arabic characters. If your iPhone is locked, and you receive a notification of the new text, iMessage crashes and your iPhone proceeds to reboot. iOS bugs are nothing new.
Link: Rare iOS bug can cause text messages to crash your iPhone