
CVE-2025-32463: Testing Sudo Chroot Privilege Escalation Vulnerability
July 2, 2025How to Update Sudo to Fix CVE-2025-32463
Need to update sudo to patch the critical CVE-2025-32463 privilege escalation vulnerability? Here’s how to update sudo on different Linux distributions.
The vulnerable versions are 1.9.14 through 1.9.17. You need sudo 1.9.17p1 or later.
π Step 1: Check Current Sudo Version
First, check what version you’re currently running:
π§ Ubuntu/Debian Systems
Update sudo using the apt package manager:
For Ubuntu 24.04 and newer, you can also use:
π© Red Hat/CentOS/Fedora Systems
For Fedora (using dnf):
For RHEL/CentOS 8+ (using dnf):
For RHEL/CentOS 7 (using yum):
π¦ SUSE/openSUSE Systems
ποΈ Alpine Linux
ποΈ Arch Linux
π¦ Manual Installation (If Package Manager Fails)
If your distribution doesn’t have the latest version available, you can compile from source:
β Step 2: Verify the Update
After updating, confirm you have the patched version:
π Step 3: Restart Services (If Needed)
In most cases, sudo updates don’t require a restart, but if you want to be safe:
β οΈ Important Notes
- Backup first: Always backup your
/etc/sudoers
file before major updates - Test after update: Verify sudo functionality works correctly after updating
- Multiple sessions: Keep an active root session open while updating, just in case
- Container environments: Update base images and rebuild containers
π¨ Emergency Recovery
If sudo breaks after update:
π Verification Checklist
- β Sudo version is 1.9.17p1 or later
- β Basic sudo commands work (sudo whoami)
- β Sudoers file syntax is valid (sudo visudo -c)
- β CVE-2025-32463 test fails (if you ran it before)
β Ready for a reliable, high-performance VPS at an unbeatable price? We host our own Kali labs on Hostinger: 4 vCPU, NVMe storage, 16 GB RAM and 16 TB bandwidth, backed by 24/7 support and a 30-day money-back guarantee. Youβll save up to 20% when you lock in a 24-month plan. Grab a Hostinger VPS using this referral link and support our content.
π Claim your Hostinger VPS (from only US$ 7.99/mo)