Watch out: there's a new web code exploit that can crash your iPhone

iPhone X

 You should always be wary of links sent over email and social media – even if they seem to come from a trusted source – but it's worth being particularly suspicious this weekend: iOS security researcher Sabri Haddouche just discovered a new block of web code that can crash and restart an unsuspecting iPhone.

The carefully configured CSS code can use up all of the resources of a device, causing the core of the operating system to panic and shut down in the interests of self-preservation, TechCrunch reports. It seems to work on both iOS 11 and the iOS 12 beta.

There's no way to actually run any malicious code using the exploit though, so you won't find any of your apps or data compromised as a result of visiting one of these webpages. You might, however, find your iPhone crashing instantly after you've opened up what looked like an innocuous web link sent by one of your contacts.

Don't panic

You can dig into the source code of the exploit for yourself if you know your CSS and want to see exactly how the trick is carried out. It only seems to affect Safari on iOS, so other browsers and browsers on Android smartphones are apparently safe for now.

Apple hasn't commented on the bug at the time of writing but we will update our article here if there is any response. A fix is likely to be rolled out as part of a minor IOS update in the not-to-distant future – the full public release of iOS 12 is rolling out on Monday, September 17, but a repair job for this issue will have to wait for a future update.

It's nothing to get too worried about, but it is something to watch out for if you're running an iPhone. If you really want to see how the code can bring down your device with a bit of kernel panic, follow the link in Sabri Haddouche's original tweet here... but you do so at your own risk.

TOPICS
David Nield
Freelance Contributor

Dave is a freelance tech journalist who has been writing about gadgets, apps and the web for more than two decades. Based out of Stockport, England, on TechRadar you'll find him covering news, features and reviews, particularly for phones, tablets and wearables. Working to ensure our breaking news coverage is the best in the business over weekends, David also has bylines at Gizmodo, T3, PopSci and a few other places besides, as well as being many years editing the likes of PC Explorer and The Hardware Handbook.

Latest in iPhone
Apple iPhone 16 Review
The latest iPhone 18 leak hints at a major chipset upgrade for all four models
Google Pixel 9 Pro Fold main display opened
Apple is rumored to be prioritizing battery life on the foldable iPhone – which could also feature a liquid metal hinge for added durability
The home screen on an iPhone 16e smartphone
I think the iPhone 16e is too expensive – and as it turns out, so does nearly everybody else
Apple iPhone 16 on orange background with big savings text overlay
You can get a free iPhone 16 Pro Max without a trade at Verizon right now - with one minor catch
Apple CEO Tim Cook
Forget Siri, Apple needs to launch a folding iPhone and get back on track
Apple iPhone 16 Pro Max REVIEW
The latest batch of leaked iPhone 17 dummy units appear to show where glass meets metal on the new designs
Latest in News
Ray-Ban Meta Smart Glasses
Samsung's rumored smart specs may be launching before the end of 2025
Apple iPhone 16 Review
The latest iPhone 18 leak hints at a major chipset upgrade for all four models
Quordle on a smartphone held in a hand
Quordle hints and answers for Monday, March 24 (game #1155)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Monday, March 24 (game #386)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Monday, March 24 (game #652)
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)