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.

Recommended Videos

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

— vmcall (@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.

Michael Allison
Former Digital Trends Contributor
A UK-based tech journalist for Digital Trends, helping keep track and make sense of the fast-paced world of tech with a…
I was wrong about the iPhone 16
An iPhone 16 laying on a shelf with its screen on.

The iPhone 16 is a little over a month old, and I've been using it almost nonstop since it was announced last month. I reviewed the phone for Digital Trends and bought one with my own money as my personal phone of choice.

Not long after its unveiling, I wrote an op-ed complaining about the iPhone 16's lack of a 120Hz display. I said it was the "one thing holding back the iPhone 16" and that its 60Hz screen was "an unreasonable spec." I'd still like to see the refresh rate addressed with the iPhone 17, but after living with the iPhone 16 for over a month now, I've found that it's not nearly as big of an issue as I believed it would be.
A 60Hz screen matters, until it doesn't

Read more
This iPhone 16 Pro accessory proves less is more
WaterField Designs CitySlicker Pouch for iPhone in white leather.

Now that we’re approaching the end of the year, hot tech summer and flagship phone season are winding down, too. That means I’ve been looking for fun little accessories to help me carry around all my phones and gadgets.

One of my trusted brands for tech accessories is Waterfield Designs. I’ve been using its bags and other accessories for the past decade, and they’re some of the finest bags I own. They’re built to last, as my first messenger bag is still looking fantastic.

Read more
The iPhone 17 Pro Max may slim down this particular feature
The Dynamic Island on the iPhone 14 Pro Max.

The iPhone's Dynamic Island is expected to get even smaller on the iPhone 17 series, according to technology analyst Jeff Pu (via MacRumors).

According to Pu, in a research note with investment bank Haitong International, the iPhone 17 Pro Max will offer a “metalens” for Face ID. Because of this, the Dynamic Island will be “much narrowed.”

Read more