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

Wi-Fi 6E Explained: What It Could Mean for iPhone 13 and Beyond

Monday August 2, 2021 8:00 am PDT by
The iPhone 13 is widely expected to come with Wi-Fi 6E capabilities, and while it may seem rather nuanced to the average consumer, with only improved speeds and being "up to date" in the realm of Wi-Fi technology, it's actually a fairly significant improvement, laying the groundwork for much of what we know the future holds. To truly understand Wi-Fi 6E, MacRumors sat down for an exclusive...
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...
apple developer app feature

iOS 15 and iPadOS 15 Developer Tool Can More Heavily Prioritize 5G Versus Wi-Fi Connections

Wednesday August 11, 2021 1:54 pm PDT by
Apple today released a new developer tool that is designed to force devices running iOS 15 and iPadOS 15 to prioritize a 5G connection over a WiFi connection when on an insecure WiFi network or when a WiFi connection is slow. 5G devices running iOS 15 and iPadOS 15 can automatically prioritize connecting via 5G instead of WiFi when the performance of WiFi networks you visit occasionally is...
iPad Pro Feature Orange

Deals: Amazon Taking Up to $100 Off 2021 iPad Pro Tablets

Friday September 10, 2021 6:22 am PDT by
Today we're tracking a handful of deals on the 2021 iPad Pro in both 11-inch and 12.9-inch configurations. You'll have a chance to save up to $100 on these models, which also focus on Wi-Fi only tablets and are all available on Amazon. 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...
2021 ipad sale

Deals: Walmart Discounts Apple's New 64GB Wi-Fi iPad to Low Price of $299.00 ($30 Off)

Thursday September 16, 2021 6:51 am PDT by
Walmart today has a discount on Apple's brand new 10.2-inch iPad, discounting the 64GB Wi-Fi model to $299.00, down from $329.00. This sale is available in Space Gray and Silver, and the iPad can be pre-ordered today with a September 29 shipping estimate. Note: MacRumors is an affiliate partner with Walmart. When you click a link and make a purchase, we may receive a small payment, which helps ...
iPad mini 6 orange BG

Deals: Amazon Introduces Its First iPad Mini 6 Discount, Get the 64GB Wi-Fi Tablet for $459.99 ($39 Off)

Monday September 20, 2021 7:04 am PDT by
Following in the footsteps of Expercom and Walmart from last week, Amazon today has introduced its first ever discount on the new iPad mini 6. You'll find the 64GB Wi-Fi tablet in all colors except Purple at $459.99, down from $499.00. 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...
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...
ipad air arrive feature

Deals: Get the 2020 64GB Wi-Fi iPad Air for $499.99 ($99 Off, Lowest Ever)

Friday September 10, 2021 10:58 am PDT by
Amazon today has the 2020 64GB Wi-Fi iPad Air for $499.99, down from $599.00 in all colors. Currently, the Green color has the best shipping estimate, with a few options arriving late next week. You'll see this sale price applied at the checkout screen thanks to an automatic $39.01 coupon. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a...