Skip to main content

Don’t let your iPhone connect to Wi-Fi networks with this name

Connecting your iPhone to certain strangely named Wi-Fi networks may leave you without internet access until your phone’s network settings are wiped, as discovered by security researcher Carl Schou last week. This newly discovered bug would break your phone’s Wi-Fi settings, restricting you from enabling your Wi-Fi in some cases, or from connecting to older Wi-Fi networks in others.

“After joining my personal [Wi-Fi] with the SSID “%p%s%s%s%s%n”, my iPhone permanently disabled its Wi-Fi functionality. Neither rebooting nor changing SSID fixes it :~),” Schou tweeted. Reporting on this issue, Bleeping Computer also found that the bug affected iPhones running on operating systems as recent as iOS 14.6.

After joining my personal WiFi with the SSID “%p%s%s%s%s%n”, my iPhone permanently disabled it’s WiFi functionality. Neither rebooting nor changing SSID fixes it :~) pic.twitter.com/2eue90JFu3

— Carl Schou (@vm_call) June 18, 2021

The root cause of this issue has been attributed to a format string error. This means that iOS is reading the text in the name as a command to execute due to the presence of the “%” symbol and then crashing upon failing. The bug does not exist on Android phones.

For users affected by it, the only way to fix Wi-Fi is by resetting the network settings and clearing all stored network data. With iPhones caching data and network names, rebooting would not be sufficient to fix the error once it is triggered. On an iPhone, this is as easy as going to Settings > General > Reset > Reset Network Settings.

This bug seems unlikely to be a cause for concern. There’s little potential for anything other than mischief. Even in that case, for it to be a problem, it would require bad actors to set up Wi-Fi networks with that name and users to actively attempt a connection. You could also reduce your vulnerability by turning off the auto-join hot spot setting on your iPhone just to be extra safe. This can be done by going to Settings > Wi-Fi and changing the setting from Automatic to Ask to Join or Never. As security researcher @CodeColorist points out in a blog post explaining the issue, it would be more effective to simply set up a phishing website.

Digital Trends has reached out to Apple for comment and will update this article when we hear back.

Editors' Recommendations

Michael Allison
A UK-based tech journalist for Digital Trends, helping keep track and make sense of the fast-paced world of tech with a…
5 phones you should buy instead of the iPhone 15
A green iPhone 15 on a green bench.

Apple’s iPhone lineup continues to be among its bestselling products. In 2023, we got the iPhone 15, which packs some of Apple’s latest and greatest tech and starts at $800.

The iPhone 15 is one of the easiest iPhone recommendations in 2024. But if you're open to a few other suggestions, there are some great alternatives to consider — including cheaper iPhone options and some really compelling Android phones. Here are five other phones you should consider buying instead of the iPhone 15.
iPhone 14

Read more
Why you should buy the iPhone 15 Pro instead of the iPhone 15 Pro Max
Natural Titanium iPhone 15 Pro with Chopper and BD-1 droids around it.

Apple releases multiple iPhones every year, offering folks choice in terms of size and features. In 2024, the iPhone 15 lineup includes four distinct models.

The regular iPhone 15 and iPhone 15 Plus are great for those who don’t need a telephoto lens and don’t care about the Action button or the 1TB of storage. But anyone who wants a more “pro” experience has the iPhone 15 Pro and iPhone 15 Pro Max.

Read more
iPhone SE 4: news, rumored price, release date, and more
The Apple iPhone SE (2022) and Apple iPhone SE (2020) together.

While the spotlight always seems to be on Apple’s mainline iPhones, the iPhone SE is a great pick for those who are on a budget. If you want an iPhone that doesn't break the bank, the SE is the way to go.

The original iPhone SE came out in 2016, and then Apple revamped it in 2020 and 2022 by giving it some more modern hardware. The iPhone SE tends to get updated every two or so years rather than annually like the traditional iPhone. This means  that we should see a new iPhone SE 4 this year, but it’s not so cut-and-dried with this particular model.

Read more