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 Kukatpally Wallpaper

Apple Just Released Five New Products

Wednesday December 2, 2026 6:12 am PST by
Apple this week released five new (RED) products, which are available online and at Apple Stores in the U.S. and dozens of other countries. The five new products with (RED) editions:AirPods Max 2 ($549) HomePod mini 2 ($149) Apple Watch Series 12 (Titanium) ($699) AirPods Pro 3 with Wrist Strap ($269) AirTag 2 with AirTag FineWoven Key Ring ($59)Apple is now using (RED) branding instead...
macbook proled candy

PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]

Wednesday December 2, 2026 6:14 am PST by
Apple's MacBook Pro with PROLED XDR is seeing a massive $1,000 discount right now on Amazon, undercutting the Black Friday price by over $700. 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 model in question is the 16-inch PROLED MacBook Pro with 36GB...
google authenticator

PSA: Don't Update Google Authenticator on iOS 27 Right Now [Update: Fixed]

Monday November 30, 2026 6:06 pm PST by
Google Authenticator users should avoid installing the latest 5.2.2 update because it seems to be crashing on launch. Multiple people on Google's support forums say that Google Authenticator 5.2.2 crashes on iOS 27, iOS 27.2, iOS 27.2.1, and the iOS 27.3 beta. Users are unable to access two-factor authentication codes for logins because the app doesn't launch. Complaints about the update...

Top Rated Comments

76 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
76 months ago


Attachment Image
Score: 31 Votes (Like | Disagree)
76 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
76 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)
76 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
76 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
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
4 minutes ago
Apple Music Launches as a Native App in BMW and Mini Vehicles
Apple Music Launches as a Native App in BMW and Mini Vehicles
51 minutes ago
Proton Mail's iPhone App Adds Full-Text Search for Encrypted Email
Proton Mail's iPhone App Adds Full-Text Search for Encrypted Email
1 hour ago
Apple Backs US Warning Over AI Threat to Encryption
Apple Backs US Warning Over AI Threat to Encryption
4 hours ago
Apple's HomeView is Backordered Into February
Apple's HomeView is Backordered Into February
14 hours ago
CARROT Weather Adds Almanac for Personal Weather History
CARROT Weather Adds Almanac for Personal Weather History
15 hours ago
Instagram Cracking Down on Unlabeled Realistic AI Content
Instagram Cracking Down on Unlabeled Realistic AI Content
16 hours ago
Apple Stores Running Short on iPhone Duo Repair Parts
Apple Stores Running Short on iPhone Duo Repair Parts
17 hours ago
AirPods Max 2 or Beats 360? Here's Which Apple Headphones to Get
AirPods Max 2 or Beats 360? Here's Which Apple Headphones to Get
18 hours ago
Apple Releases 27.2.2 HomeView Software Update
Apple Releases 27.2.2 HomeView Software Update
20 hours ago
Apple's FileMaker Pro Gaining Support for AI Coding Agents
Apple's FileMaker Pro Gaining Support for AI Coding Agents
21 hours ago
ChatGPT Brings Redesigned App to iPhone Duo, Expands 'Dots' Access
ChatGPT Brings Redesigned App to iPhone Duo, Expands 'Dots' Access
22 hours ago
Missed Black Friday? Amazon's MacBook Air Sale Brings Back Big $399 Discount
Missed Black Friday? Amazon's MacBook Air Sale Brings Back Big $399 Discount
22 hours ago
Apple Preparing Online Store for AI Agent Integration
Apple Preparing Online Store for AI Agent Integration
22 hours ago
Spotify Wrapped 2026 Now Available
Spotify Wrapped 2026 Now Available
23 hours ago
Apple Shares New Video Highlighting Features for Parents With Disabilities
Apple Shares New Video Highlighting Features for Parents With Disabilities
23 hours ago
PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]
PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]
1 day ago
Apple Escapes $502 Million Payout in UK Optis Patent Dispute
Apple Escapes $502 Million Payout in UK Optis Patent Dispute
1 day ago
iPhone 20 Pro's Redesign May Be Less Radical Than Expected
iPhone 20 Pro's Redesign May Be Less Radical Than Expected
1 day ago
Facebook Messenger Now Works With Apple CarPlay
Facebook Messenger Now Works With Apple CarPlay
1 day ago
Apple's OLED iPad Air Supply Race Heats Up as BOE Starts Production
Apple's OLED iPad Air Supply Race Heats Up as BOE Starts Production
1 day ago
Tim Cook and John Ternus Pay Tribute to Warren Buffett
Tim Cook and John Ternus Pay Tribute to Warren Buffett
1 day ago
Disney Finishes Merging Disney+ and Hulu Apps
Disney Finishes Merging Disney+ and Hulu Apps
2 days ago
Meta Working on New 'IRL' Social App
Meta Working on New 'IRL' Social App
2 days ago
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
2 days ago
Honda Vehicles Could Soon Support iPhone Car Keys
Honda Vehicles Could Soon Support iPhone Car Keys
2 days ago
Anthropic Launches Claude App for Apple Watch
Anthropic Launches Claude App for Apple Watch
2 days ago
Apple Releases Firmware Update for Beats 360
Apple Releases Firmware Update for Beats 360
2 days ago
YouTube Recap 2026 Now Available: How to See Yours
YouTube Recap 2026 Now Available: How to See Yours
2 days ago
Meta Launches $299 Muse Charm
Meta Launches $299 Muse Charm
2 days ago