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.

After joining my personal WiFi with the SSID "%p%s%s%s%s%n", my iPhone permanently disabled it's WiFi functionality. Neither rebooting nor changing SSID fixes it :~) pic.twitter.com/2eue90JFu3 — Carl Schou (@vm_call) June 18, 2021

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.

Related Stories

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

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...

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 Sami Fathi

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...

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

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...

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

Monday August 2, 2021 8:00 am PDT by Sami Fathi

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...

Kuo: Apple's 2022 AR/VR Headset to Support Faster Wi-Fi 6E

Monday November 1, 2021 3:23 am PDT by Tim Hardwick

Apple plans to release its first mixed reality headset with Wi-Fi 6E support in 2022, Apple analyst Ming-Chi Kuo said today in a note sent out to investors. Concept render by Antonio De Rosa based on recent reports Apple is rumored to be working on at least two AR projects that include an augmented reality headset set to be released in late 2022, followed by a sleeker pair of augmented...

Deals: Huge iPad Pro Sale on Amazon Taking Up to $150 Off 2021 Models With Record Low Prices

Today we're tracking a massive sale on Apple's 2021 iPad Pro lineup, including up to $150 off the 11-inch iPad Pro and 12.9-inch iPad Pro. For many of these tablets, Amazon's sale prices today are offering the lowest discounts we've ever seen, or matching the previous record lows on each device. Note: MacRumors is an affiliate partner with Amazon. When you click a link and make a purchase, we...

Deals: Apple's 256GB Wi-Fi 12.9-Inch iPad Pro Hits New Low Price of $999 ($200 Off)

Amazon today has Apple's 256GB Wi-Fi 12.9-inch iPad Pro for the new low price of $999.00, down from $1,199.00. The iPad Pro is shipped and sold directly from Amazon, and it's in stock today. 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 payment, which helps us keep the site running. The new sale is...

Apple Confirms iOS 14.7 Fixes WiFi Bug and Many Other Vulnerabilities

Wednesday July 21, 2021 11:38 am PDT by Juli Clover

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...

Deals: Take Up to $100 Off 2021 iPad Pro Models in Wi-Fi and Cellular

Today we're tracking solid discounts 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, and this sale includes both Wi-Fi only tablets and cellular models. 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. ...

Deals: Take Up To $100 Off 2021 iPad Pro Tablets at Amazon

Amazon today has a few 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, and this sale focuses on Wi-Fi only tablets and they're 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...