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

Related Stories

iPhone 14 Mock Feature Pruple 2

Kuo: iPhone 14 and Mixed Reality Headset to Feature Wi-Fi 6E

Wednesday November 17, 2021 7:49 am PST by
Apple's iPhone 14 and rumored mixed reality headset will feature Wi-Fi 6E connectivity, according to reliable analyst Ming-Chi Kuo. In an investor note obtained by MacRumors, TF Securities analyst Ming-Chi Kuo said that new Apple products, including the iPhone 14 and a head-mounted display device, will accelerate a broader industry upgrade to the Wi-Fi 6E specification. Motivated by the...
iPad Pro Feature Orange

Deals: Get Up to $149 Off Apple's 2021 iPad Pro Tablets, Starting at $999 for 12.9-Inch

Tuesday February 8, 2022 6:28 am PST by
Today we're tracking a collection of iPad Pro discounts from Amazon and B&H Photo, offering up to $100 off 11-inch and 12.9-inch models. One of the most notable discounts is on the 128GB Wi-Fi 12.9-inch iPad Pro, available for $999.00, down from $1,099.00. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small...
Apple Logo Cash Feature Yellow

Apple's $1.1 Billion Patent Dispute With Caltech Granted New Damages Trial

Friday February 4, 2022 7:27 am PST by
Apple and its supplier Broadcom today convinced a U.S. appeals court to reject a jury verdict that required them to pay $1.1 billion for infringing on Wi-Fi patents that belong to the California Institute of Technology (via Reuters). In 2016, Caltech accused Apple and Broadcom of infringing on its patents related to the Wi-Fi technology used in many Apple devices. Caltech's patents, granted...
iphone 12 5g

iPhone 14 Could Have Better Battery Life Thanks to New 5G Chip

Tuesday February 22, 2022 5:25 am PST by
The iPhone 14 could offer better battery life and feature Wi-Fi 6E connectivity thanks to a new 5G chip, supply chain sources claim. Taiwan's Economic Daily News reports that TSMC has obtained all of Apple's orders for its 5G radio frequency (RF) chips for the iPhone 14 lineup, taking over from Samsung. The chips, likely related to Apple's selection of Qualcomm's Snapdragon X65 modem, are...
image 40

iOS 15.4 and watchOS 8.5 Allow You to Restore an Apple Watch Using an iPhone

Monday March 14, 2022 1:25 pm PDT by
Apple today published a new support document indicating that iOS 15.4 and watchOS 8.5 allow an Apple Watch to be restored with a nearby iPhone. The support document states that if an Apple Watch running watchOS 8.5 or later displays an animation showing an Apple Watch and iPhone being brought close together, customers can follow the steps below to initiate the restore process:1. Make sure...
Apple TV tvOS 15 Feature

Apple Releases tvOS 15.4 With Support for Captive WiFi Networks

Monday March 14, 2022 9:40 am PDT by
Apple today released tvOS 15.4, the fourth major update to the tvOS operating system that first launched in September 2021. tvOS 15.4 comes less than two months after the launch of tvOS 15.3. tvOS 15.4 can be downloaded over the air on the Apple TV through the Settings app by going to System > Software Update. ‌‌‌‌‌Apple TV‌‌‌‌‌ owners who have automatic software updates...
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...
sengled tv light strip

CES 2022: Sengled Debuts New Smart TV Light Strips and Outdoor String Lights

Monday January 3, 2022 8:02 am PST by
Lighting company Sengled today announced the launch of several new smart lighting products, including Wi-Fi Video-Sync TV Light Strips, Wi-Fi Outdoor String Lights, and the Wi-Fi Portable Lamp. The WiFi TV Light Strips are designed to extend what's showing on the television set to the wall behind it for a more immersive entertainment experience. The lights are designed to react to content...

Popular Stories

RIP iPod Feature

RIP iPod: A Look Back at Apple's Iconic Music Player Over the Years

Friday May 13, 2022 2:25 pm PDT by
Apple earlier this week announced the discontinuation of the iPod touch, and because it was the last iPod still available for purchase, its sunsetting effectively marks the end of the entire iPod lineup. To send the iPod on its way, we thought it would be fun to take a look back at some of the most notable iPod releases over the last 21 years. Original iPod (2001) Introduced in October...
iOS 16 mock for article

Gurman: iOS 16 to Include New Ways of System Interaction and 'Fresh Apple Apps'

Sunday May 15, 2022 6:14 am PDT by
iOS 16 will include new ways of interacting with the system and some "fresh Apple apps," Bloomberg's Mark Gurman has said, offering some more detail on what Apple has in store for the upcoming release of iOS and iPadOS set to be announced in a few weeks at WWDC. In the latest edition of his Power On newsletter, Gurman wrote that while iOS 16 is not likely to introduce a major face-lift to...
maxresdefault

Unbox Therapy Shares Hands-On Look at iPhone 14 Pro Max Replica

Monday May 16, 2022 4:40 am PDT by
YouTuber Unbox Therapy has shared a hands-on look at the iPhone 14 Pro Max using what he claims is a one-to-one replica created by third-party case makers with access to detailed schematics and dimensions for Apple's new upcoming flagship smartphone. As with the iPhone 13 Pro lineup, in 2022, we are expecting a 6.1-inch iPhone 14 Pro and a 6.7-inch iPhone 14 Pro Max, but this time the Pro...
iOS 15

Apple Releases iOS 15.5 and iPadOS 15.5 With Wallet and Podcast Updates

Monday May 16, 2022 10:00 am PDT by
Apple today released iOS 15.5 and iPadOS 15.5, the fifth major updates to the iOS and iPadOS 15 operating systems that were initially released in September 2021. iOS and iPadOS 15.5 come a little over two months after the launch of iOS 15.4 and iPadOS 15.4. The iOS 15.5 and iPadOS 15.5 updates can be downloaded for free and the software is available on all eligible devices over-the-air in...
14 16 inch 2021 mbps back to back feature orange

Five Things You Still Can't Do With a MacBook Pro

Wednesday May 11, 2022 11:16 am PDT by
It's been over 200 days since Apple debuted its redesigned MacBook Pro lineup. Offered in 14-inch and 16-inch display sizes, the new-look MacBooks wowed Apple fans and creative pros alike with their powerful custom Apple silicon, mini-LED screen, and multiple connectivity options. But there are still some things you can't do with a MacBook Pro. Here are five features some Mac users are still...
apple mac ipad watch trade in

Apple Launches Limited-Time Bonus Trade-In Credit for iPhone, iPad, Mac, and Apple Watch in Many Countries

Wednesday May 11, 2022 5:14 am PDT by
Apple has launched a special limited-time offer for iPhone, Apple Watch, Mac, and iPad trade-in that offers customers additional credit when trading in their only device for a new one. The offer is being run in several countries including the US, UK, Germany, Spain, Italy, South Korea, Japan, Taiwan, China, India, and France. In the UK, Apple is offering up to £50 of extra trade-in credit...
airpodsprodesign

Kuo: AirPods, MagSafe Battery Pack, and Other Apple Accessories Also to Switch to USB-C in Future

Sunday May 15, 2022 5:59 am PDT by
Earlier this week, well-known Apple analyst Ming-Chi Kuo claimed that Apple plans to release at least one iPhone 15 model with a USB-C port in 2023. Now, in a follow-up tweet, he has claimed that accessories like AirPods, the MagSafe Battery Pack, and the Magic Keyboard/Mouse/Trackpad trio would also switch to USB-C in the "foreseeable future." Both the iPhone and all of the aforementioned...