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.

Top Rated Comments

GubbyMan Avatar
5 weeks ago
This will always be relevant https://xkcd.com/327/
Score: 64 Votes (Like | Disagree)
acorntoy Avatar
5 weeks 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
5 weeks 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
5 weeks 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
5 weeks ago
Changing my SSID right now to %s%s%s%p to test thi [user disconnected]
Score: 21 Votes (Like | Disagree)
bsolar Avatar
5 weeks 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)

Top Stories

apple releases ios 14 7

Alert: Update to iOS 14.7 Now to Protect Against Dangerous Wi-Fi Bug

Wednesday July 21, 2021 4:13 am PDT by
iPhone users should upgrade to iOS 14.7 immediately to avoid a dangerous bug that disabled the device's Wi-Fi, sometimes irreversibly. Before iOS 14.7, if a user connected to a Wi-Fi network with the name "%p%s%s%s%s%n," a bug completely disabled the device's ability to connect to Wi-Fi. According to user reports, doing so would "permanently disable" an iPhone's Wi-Fi functionality, making...
ios wifi settings

Latest iOS 14.7 Beta Patches Bug That Disables iPhone's Ability to Connect to Wi-Fi

Friday July 9, 2021 9:32 am PDT by
The latest beta for iOS and iPadOS 14.7, released to developers this week, patches a bug that disabled an iPhone's ability to connect to Wi-Fi if a user connected to a specific Wi-Fi network with the name "%p%s%s%s%s%n." In his latest video rounding up the latest changes in the beta, YouTuber Zollotech found that the update has silently patched the bug that caused an iPhone to become unable...
ios wifi settings

Apple Confirms iOS 14.7 Fixes WiFi Bug and Many Other Vulnerabilities

Wednesday July 21, 2021 11:38 am PDT by
Following the release of iPadOS 14.7 this morning, Apple has shared details on the security updates that are included in iOS 14.7, iPadOS 14.7, macOS Big Sur 11.5, watchOS 7.6, and tvOS 14.7, all of which came out this week. Notably, Apple's documentation confirms that the iOS 14.7 and iPadOS 14.7 updates address a WiFi-related vulnerability that could impact iOS devices when joining a...
linksysvelop

Apple Adds New Products to Online Store, Including Linksys Velop Wi-Fi 6 Mesh Routers With HomeKit Support

Monday July 19, 2021 9:26 am PDT by
Apple recently added several new products and accessories to its online store, including the Linksys Velop AX4200 mesh Wi-Fi 6 system, with one node priced at $249.95, a two-pack priced at $399.95, and a three-pack priced at $499.95. Mesh technology offers whole home Wi-Fi coverage that is easily expandable by adding additional nodes, with Wi-Fi 6 offering faster speeds with lower latency...
iPhone 13 Wi Fi 6E greener

iPhone 13 Rumored to Feature WiFi-6E Offering Improved Speed and Range

Thursday July 15, 2021 3:58 am PDT by
The iPhone 13 set to launch later this year will feature the improved WiFi 6E protocol, offering users access to an extended version of the WiFi 6 framework with the added benefit of a 6GHz band, according to DigiTimes. Apple introduced WiFi 6 with the iPhone 11 in 2019, and compared to the previous WiFi 5 framework, WiFi 6 offers significantly improved speeds and security. WiFi 6E adds...
iOS 15 General Feature Purple

iOS 15 Hotspot Connections Feature Stronger WPA3 Security

Friday June 25, 2021 12:36 pm PDT by
Starting with iOS and iPadOS 15 later this fall, hotspot connections from iPhones and iPads will be secured with the improved WPA3 security protocol, offering improved security and upgraded measures in place to prevent password guessing. WPA3 was announced by the Wi-Fi Alliance in June of 2018 with the goal to "simplify Wi-Fi security, enable more robust authentication, and deliver increased ...
nanoleaf elements night time

Nanoleaf Adds Thread Border Router Support to Shapes and Elements Light Panels [Update: Rollout Next Month]

Thursday July 8, 2021 12:20 am PDT by
Since this article was published, Nanoleaf reached out to MacRumors to explain that the information was incorrectly shared early in Europe, and that Thread Border Router support will be in fact be rolled out next month. Nanoleaf, the company that makes wall-mounted modular light panels in various shapes, today rolled out Thread border router support for its Shapes and Elements light...
tp link deco x76 plus mesh

CES 2021: TP-Link Introduces Line of 6GHz Wi-Fi Routers and Mesh Systems

Monday January 11, 2021 5:30 am PST by
As part of CES 2021, TP-Link today introduced its latest networking offerings, including two mesh Wi-Fi 6E systems, two tri-band Wi-Fi 6E routers, and more. Deco X76 Plus Wi-Fi 6E offers the features and capabilities of Wi-Fi 6, including higher performance, lower latency, and faster data rates, extended into the 6GHz band. The additional spectrum will provide a lot more airspace beyond...
ipad air arrive feature

Deals: Apple's 256GB 2020 iPad Air Drops to New Low of $639 in Rose Gold ($110 Off)

Thursday July 15, 2021 12:03 pm PDT by
Amazon is knocking down the price of the 64GB and 256GB 2020 iPad Air in its newest sales today, including a new all-time low price on the latter model. Note: MacRumors is an affiliate partner with Amazon. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. Starting with the 64GB Wi-Fi iPad Air, you can get this tablet for $539.00,...
bt logo

BT to Expand 5G to Entire UK by 2028 Using Drones, Satellites, and Portable Cells, Will End 3G Service by 2023

Wednesday July 14, 2021 7:10 am PDT by
The British network carrier BT has today announced that EE will offer 5G connectivity anywhere in the UK by 2028 as the company set out its plans for the future. 3G services offered by EE, BT Mobile, and Plusnet will be phased out by 2023, by which time the company will have built a new 5G core network. 3G usage has been in steady decline in recent years, now representing less than two...