iOS Bug Causes Specific Network Name to Disable Wi-Fi on iPhones

A wireless network naming bug has been discovered in iOS that effectively disables an iPhone's ability to connect to Wi-Fi.

ios wifi settings
Security researcher Carl Schou found that after joining a Wi-Fi network with the name "%p%s%s%s%s%n" his ‌iPhone‌'s Wi-Fi functionality was left "permanently disabled."

Changing a hotspot's SSID did nothing to correct the problem, with even a reboot failing to make a difference, according to BleepingComputer.

Other users who were able to replicate the issue have suggested the bug could be related to the initial use in the network name of the percentage sign, which leads to an input parsing issue whereby iOS mistakenly interprets the letters following the "%" as a string-format specifier.


In C and C-style languages, string format specifiers have a special meaning and are parsed by the language compiler as a variable name or a command instead of standard text.

Android phones don't seem to be affected by the same network, but iPhones hit by the problem need to have their network settings reset before a Wi-Fi hotspot can be connected again.

To perform the reset, open the Settings app, tap General -> Reset, then tap Reset Network Settings and confirm the request at the prompt.

Popular Stories

iPhone 17 Plus Feature

iPhone 17 Lineup Specs Detail Display Upgrade and New High-End Model

Monday July 22, 2024 4:33 am PDT by
Key details about the overall specifications of the iPhone 17 lineup have been shared by the leaker known as "Ice Universe," clarifying several important aspects of next year's devices. Reports in recent months have converged in agreement that Apple will discontinue the "Plus" iPhone model in 2025 while introducing an all-new iPhone 17 "Slim" model as an even more high-end option sitting...
iPhone SE 4 Vertical Camera Feature

iPhone SE 4 Production Will Reportedly Begin Ramping Up in October

Tuesday July 23, 2024 2:00 pm PDT by
Following nearly two years of rumors about a fourth-generation iPhone SE, The Information today reported that Apple suppliers are finally planning to begin ramping up mass production of the device in October of this year. If accurate, that timeframe would mean that the next iPhone SE would not be announced alongside the iPhone 16 series in September, as expected. Instead, the report...
Generic iPhone 17 Feature With Full Width Dynamic Island

Kuo: Ultra-Thin iPhone 17 to Feature A19 Chip, Single Rear Camera, Semi-Titanium Frame, and More

Wednesday July 24, 2024 9:06 am PDT by
Apple supply chain analyst Ming-Chi Kuo today shared alleged specifications for a new ultra-thin iPhone 17 model rumored to launch next year. Kuo expects the device to be equipped with a 6.6-inch display with a current-size Dynamic Island, a standard A19 chip rather than an A19 Pro chip, a single rear camera, and an Apple-designed 5G chip. He also expects the device to have a...
iPhone 17 Plus Feature Purple

These 5 Features Will Make the iPhone 17 the Biggest Update in Years

Monday July 22, 2024 4:02 pm PDT by
The upcoming iPhone 16 models that we're expecting to see in September are going to be quite similar to the iPhone 15 models, but rumors suggest that Apple is making big changes in 2025. We've been hearing hints of an all-new device in the iPhone lineup, and it may be the most expensive iPhone Apple has offered to date. New 'Slim' Design Rumors have taken to referring to the new iPhone 17...
iOS 18 on iPhone Feature

Everything New in iOS 18 Beta 4

Tuesday July 23, 2024 1:08 pm PDT by
Apple released the fourth beta of iOS 18 today, introducing small changes to a number of features throughout the operating system. There are no big additions in this beta, but Apple is continuing to refine existing settings and design choices. Apple plans to continue updating iOS 18 over the next few months, with the update set to be released this fall. We've rounded up all of the changes...
iPhone SE 4 Thumb 1

iPhone SE 4 Rumored to Launch Early Next Year With OLED Display, 48MP Camera, and More

Monday July 22, 2024 7:22 am PDT by
The fourth-generation iPhone SE will offer a series of major upgrades over the current model, the leaker known as "Ice Universe" claims. The information was listed in a post on Weibo, which also detailed the specifications of the iPhone 17 lineup. As previously rumored, the fourth-generation iPhone SE is expected to feature Face ID and USB-C, marking a major upgrade from current and previous ...
iPhone 17 Plus Feature Purple

iPhone 17 Rumored to Feature Mechanical Aperture

Tuesday July 23, 2024 9:32 am PDT by
Apple is planning to release at least one iPhone 17 model next year with mechanical aperture, according to a report published today by The Information. The mechanical system would allow users to adjust the size of the iPhone 17's aperture, which refers to the opening of the camera lens through which light enters. All existing iPhone camera lenses have fixed apertures, but some Android...

Top Rated Comments

GubbyMan Avatar
41 months ago
This will always be relevant https://xkcd.com/327/
Score: 64 Votes (Like | Disagree)
acorntoy Avatar
41 months ago
Now Macrumors has led this from ~10 affected idiots to ~10,000. I encourage you to try it though, your device might be special and immune.
Score: 47 Votes (Like | Disagree)
Carlson-online Avatar
41 months ago
Pretty sure of course this big will effect nobody as who would use that as a network name ?!
Score: 22 Votes (Like | Disagree)
PinkyMacGodess Avatar
41 months ago
The real question is why would iOS do anything with the SSID? It's a 'string'. If iOS is choking on it, it shouldn't be looking at it as filet mignon! (Bad analogy warning?) It's like eating the wrapper your hamburger came in. Come on Apple...
Score: 21 Votes (Like | Disagree)
JetLaw Avatar
41 months ago
Changing my SSID right now to %s%s%s%p to test thi [user disconnected]
Score: 21 Votes (Like | Disagree)
bsolar Avatar
41 months ago

Agreed. Who cares about a bug that will effect literally one person out of 1 billion, when there are bigger fish to fry.
It affects basically nobody as long as it's just a joke SSID encountered by chance, but it highlights a vulnerability in the software which malicious actors can further investigate and potentially have the chance to further exploit.

That's why Apple should promptly fix the root issue before worse exploits have a chance to happen.
Score: 21 Votes (Like | Disagree)