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

cook sept 2020 event

Gurman: Apple Preparing Pre-Recorded iPhone 14 and Apple Watch Series 8 Event

Sunday August 7, 2022 6:13 am PDT by
Apple has "started to record" its virtual September event, where it's expected to announce the upcoming iPhone 14 lineup, the Apple Watch Series 8, and a new "rugged" Apple Watch model, according to Bloomberg's Mark Gurman. Writing in his latest Power On newsletter, Gurman says the event, which is expected to take place in the early part of September, is already under production, implying...
Apple Watch Series 7 Starlight Midnight

Standard Apple Watch Series 8 Rumored to Feature Same Design as Series 7

Friday August 5, 2022 7:46 am PDT by
The standard 41mm and 45mm models of the Apple Watch Series 8 will feature the same design as the Apple Watch Series 7, according to Twitter user @ShrimpApplePro, who was first to reveal that iPhone 14 Pro models would feature a new pill-and-hole display. Titanium will not be an option for the standard Apple Watch Series 8 models either, according to @ShrimpApplePro, but Bloomberg's Mark...
iPhone 14 Lineup Feature Purple

Color Options for All iPhone 14 Models: Everything We Know

Monday August 8, 2022 3:59 am PDT by
The iPhone 14 and iPhone 14 Pro models are rumored to be available in a refreshed range of color options, including an all-new purple color. Most expectations about the iPhone 14 lineup's color options come from an unverified post on Chinese social media site Weibo earlier this year. Overall, the iPhone 14 and iPhone 14 Pro's selection of color options could look fairly similar to those of the ...
ios 16 beta 5 battery percent

iOS 16 Beta 5: Battery Percentage Now Displayed in iPhone Status Bar

Monday August 8, 2022 10:43 am PDT by
With the fifth beta of iOS 16, Apple has updated the battery icon on iPhones with Face ID to display the specific battery percentage rather than just a visual representation of battery level. The new battery indicator is available on iPhone 12 and iPhone 13 models, with the exception of the 5.4-inch iPhone 12/13 mini. It is also available on the iPhone X and the iPhone XS. Battery percent...
iphone 14 pro max camera bump compared lipilipsi 16 9

Bigger iPhone 14 Pro Max Camera Bump Shown Alongside iPhone 13 Pro Max

Monday August 8, 2022 4:33 am PDT by
The camera bump on the upcoming iPhone 14 Pro Max is expected to be the largest rear lens housing Apple has ever installed on its flagship smartphones, and a new photo offers a rare glimpse at just how prominent it is compared to Apple's predecessor device. iPhone 14 Pro Max dummy (left) vs iPhone 13 Pro Max All iPhone 14 models are expected to see upgrades to the Ultra Wide camera on the...
ipad pro magic keyboard white

Rumor Claims Next iPad Pro to Feature New Four-Pin Smart Connector

Sunday August 7, 2022 11:57 am PDT by
A new rumor claims that the next-generation 12.9-inch and 11-inch iPad Pro will feature a new four-pin Smart Connector, an update from the current three-pin connector in the iPad Pro. The rumor from Mac Otakara, citing "reliable sources," says that the next iPad Pro, expected to debut possibly as soon as this fall, will feature a new Smart Connector that has four-pins rather than three. The...