Root Access Sudo Bug Found to Affect macOS Big Sur - MacRumorsOpen MenuShow RoundupsShow Forums menuVisit ForumsOpen Sidebar
Skip to Content

Root Access Sudo Bug Found to Affect macOS Big Sur

A sudo bug that can grant an attacker root access has been discovered to affect macOS Big Sur (via ZDNet).

sudo bug macos

The security vulnerability, identified last week as "CVE-2021-3156" by the Qualys Security Team, affects sudo, which is a program that allows users to run commands with the security privileges of another user, such as an administrator. The bug triggers a "heap overflow" in sudo that changes the current user's privileges to enable root-level access. This can give an attacker access to the entire system. An attacker would need to gain low-level access to a system first to be able to exploit the bug, such as via planted malware.

Sudo is part of many Unix-like systems, including macOS, but it was initially unknown if the vulnerability affected Mac machines since it was only tested by Qualys on Ubuntu, Debian, and Fedora. Security researcher Matthew Hickey has now confirmed that the most recent version of macOS, macOS Big Sur 11.2 can be subject to the sudo attack.

Last week, there was speculation that the macOS Big Sur 11.2 update may address the sudo vulnerability, though it was not definitively known at the time if the bug would affect macOS. While it was found that sudo was left unchanged in macOS Big Sur 11.2, it is now clear that macOS is affected by the exploit.

With some minor modifications, Hickey found that the sudo bug could be used to grant attackers access to macOS root accounts, and the discovery has now been verified by Carnegie Mellon University vulnerability analyst Will Dormann.

Apple has reportedly been notified of the CVE-2021-3156 vulnerability, and due to the severity of the issue, a patch will likely be released soon.

Popular Stories

Apple MacBook Pro with PROLED XDR Display family lineup feature

Apple Announces OLED MacBook Pro With Touch Display

Wednesday October 28, 2026 10:11 am PDT by
Apple today announced a new high-end MacBook Pro, which is available in 14-inch and 16-inch sizes. The new device has a PROLED XDR display that supports touch gestures, and a glowing rear Apple logo. Pricing on the MacBook Pro starts at $2,899 for the 14-inch model and $3,399 for the 16-inch model. Apple says the MacBook Pro has the "world's best display in a pro laptop." The PROLED...
iPhone Duo Display Cracking

Apple Alerts Stores to iPhone Duo's Display Cracking Issue

Friday October 30, 2026 3:20 pm PDT by
In a memo shared with Apple Stores and Apple Authorized Service Providers this week, and later obtained by MacRumors, Apple provided technicians with guidance on how to diagnose and address the iPhone Duo's inner display cracking issue. If a customer reports the issue, Apple advised technicians to inspect the iPhone Duo and repair or replace it in accordance with their standard procedures....
iPad mini OLED feature 1

Apple Executive Comments on New iPad Mini Lacking 120Hz Display

Thursday October 29, 2026 1:47 pm PDT by
While the new iPad mini has an OLED display, the device does not support ProMotion, meaning the display's refresh rate is limited to 60Hz instead of 120Hz. ProMotion support would have allowed for the iPad mini's refresh rate to automatically adjust from 10Hz to 120Hz depending on the content being displayed, but evidently Apple has kept the feature exclusive to the iPad Pro among iPad...

Top Rated Comments

75 months ago

Apple rushing beta software to market, again.
This vulnerability has been present for more than a decade in all sorts of UNIXes! It's not something at all limited to Apple's QA...
Score: 34 Votes (Like | Disagree)
Havalo Avatar
75 months ago


Attachment Image
Score: 31 Votes (Like | Disagree)
75 months ago

So, mostly free OSes. That's much of a defense....

Devs knew about the potential, and chose not to address it. They would rather rush a beta product to market.
One day you will learn more about software and you will look back at this comment and say "wow, I was totally clueless back then."
Score: 27 Votes (Like | Disagree)
Gabebear Avatar
75 months ago

Wow I thought this would have been patched out in 11.2. Hopefully we will get a
supplemental patch shortly.
It turns most fairly minor security issues into full-blown root exploits… fairly terrifying.
Score: 9 Votes (Like | Disagree)
75 months ago

I'd think we'd have better tools/procedures for finding bugs like this a lot sooner.

Is there not an automated tool that can look at some code and say "hey, right here it's possible for a heap overflow to occur and there's no error handling code to deal with it"?
Sure there are tools that catch some of these problems via static analysis etc and there are languages where this class of problems might not even occur.

But it is also true that the day that the CVE was released I updated my Linux servers and got a fixed/patched sudo, while even macOS 11.3 beta1 still has the issue, so this is also indicative of Apple release engineering capabilities, or lack of them.
Score: 8 Votes (Like | Disagree)
justperry Avatar
75 months ago

So is this a zero day, drive-by vulnerability? Or does the attacker have to have physical access?
Nope

"An attacker would need to gain low-level access to a system first to be able to exploit the bug, such as via planted malware."
Score: 8 Votes (Like | Disagree)
Latest Stories
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
1 hour ago
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
2 hours ago
Here's a New Tour of Apple's HomeView Software
Here's a New Tour of Apple's HomeView Software
2 hours ago
Apple Reveals New iPad Mini's Battery Capacity
Apple Reveals New iPad Mini's Battery Capacity
3 hours ago
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
4 hours ago
'Pluribus' Season 2 Reportedly Starts Production Today
'Pluribus' Season 2 Reportedly Starts Production Today
11 hours ago
iPhone 18 Pro Sales Surge in China, Offsetting Decline in U.S. and Japan
iPhone 18 Pro Sales Surge in China, Offsetting Decline in U.S. and Japan
11 hours ago
HomeView Software 27.2: Wallpapers, Control Center, and More
HomeView Software 27.2: Wallpapers, Control Center, and More
18 hours ago
Apple Alerts Stores to iPhone Duo's Display Cracking Issue
Apple Alerts Stores to iPhone Duo's Display Cracking Issue
19 hours ago
iOS 27.3 Will Enable These Apple Intelligence Features in China
iOS 27.3 Will Enable These Apple Intelligence Features in China
20 hours ago
Apple Says iOS 27.3 Beta Coming Next Week
Apple Says iOS 27.3 Beta Coming Next Week
20 hours ago
Apple's Flash Storage Suppliers Are Finally 'Getting Their Revenge'
Apple's Flash Storage Suppliers Are Finally 'Getting Their Revenge'
21 hours ago
14 New Things Your iPhone Can Do in iOS 27.2
14 New Things Your iPhone Can Do in iOS 27.2
22 hours ago
iPhone Duo Review: One Week Later
iPhone Duo Review: One Week Later
23 hours ago
Samsung Mocks iPhone Duo Display Cracks in New Ad Campaign
Samsung Mocks iPhone Duo Display Cracks in New Ad Campaign
1 day ago
The MacRumors Show: OLED MacBook Pro, iPad Mini 8, and More
The MacRumors Show: OLED MacBook Pro, iPad Mini 8, and More
1 day ago
MacBook Pro With Touch Display: 15 More Details Revealed
MacBook Pro With Touch Display: 15 More Details Revealed
1 day ago
Russia Places Apple on State Surveillance Registry
Russia Places Apple on State Surveillance Registry
1 day ago
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
1 day ago
Apple Has Released More Than 25 New Products in the Past Two Months
Apple Has Released More Than 25 New Products in the Past Two Months
1 day ago
Local Code Launches as Free, Private AI Assistant Tool for Mac
Local Code Launches as Free, Private AI Assistant Tool for Mac
1 day ago
Apple Acquires Ascend.io
Apple Acquires Ascend.io
1 day ago
HomePod Mini 2 Launches Today: All the New Features
HomePod Mini 2 Launches Today: All the New Features
1 day ago
AirTag 2 4-Pack Drops to New Low Price of $69.99
AirTag 2 4-Pack Drops to New Low Price of $69.99
1 day ago
Rian Johnson's iPhone Camera App Goes Viral
Rian Johnson's iPhone Camera App Goes Viral
1 day ago
Where Did All the iPhone Duos Go? Mostly to Apple's Stores
Where Did All the iPhone Duos Go? Mostly to Apple's Stores
1 day ago
Apple's Touchscreen MacBook Pro Could Ship 1.5M Units in 2027
Apple's Touchscreen MacBook Pro Could Ship 1.5M Units in 2027
1 day ago
New Apple TV 4K and iPad Mini: RAM Amounts Revealed
New Apple TV 4K and iPad Mini: RAM Amounts Revealed
2 days ago
Apple Executive Comments on New iPad Mini Lacking 120Hz Display
Apple Executive Comments on New iPad Mini Lacking 120Hz Display
2 days ago
Here's a Hands-On Look at HomePod Mini 2's New Two-Tone Colors
Here's a Hands-On Look at HomePod Mini 2's New Two-Tone Colors
2 days ago

🔗 Related Apple News & Rumors

Stay updated with the latest Apple ecosystem news and verified rumors