CVE-2021-3493: Linux Kernel Privilege Escalation Vulnerability
CVE-2021-3493 is a high-severity flaw (CVSS 8.8) affecting ubuntu linux, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities on files in an underlying file system. Due to the combination of unprivileged user namespaces along with a patch carried in the Ubuntu kernel to allow unprivileged overlay mounts, an attacker could use this to gain elevated privileges.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: briskets/CVE-2021-3493 (445 stars)
- GitHub PoC: inspiringz/CVE-2021-3493 (42 stars)
- GitHub PoC: oneoy/CVE-2021-3493 (3 stars)
- Write-up: git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc39
- GitHub PoC: Abdennour-py/CVE-2021-3493
- GitHub PoC: AmIAHuman/OverlayFS-CVE-2021-3493
- Metasploit: 2021 Ubuntu Overlayfs LPE
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-3493?
ubuntu linux: upgrade to 18.04, 20.04, 20.10. Exact commands for each OS are on this page.
Is CVE-2021-3493 being exploited?
Yes. CVE-2021-3493 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-3493 affect?
CVE-2021-3493 affects ubuntu linux. Severity is high (CVSS 8.8). The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities on files in an underlying file system. Due to the combination of unprivileged user namespaces along
How urgent is CVE-2021-3493?
Priority 91/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; On your watchlist
Software pages
Linux kernel vulnerabilities · Ubuntu vulnerabilities
Related CVEs
- CVE-2025-26466 MEDIUM 5.9 DOWNGRADE MITIGATE A flaw was found in the OpenSSH package
- CVE-2026-47331 HIGH 7.8 MITIGATE Ubuntu Linux 6.8 contains AppArmor SAUCE patches which fail to acquire a lock when modifying a linked list
- CVE-2026-47333 HIGH 7.8 MITIGATE Ubuntu Linux 6.8, 6.17 and 7.0 contain AppArmor SAUCE patches which can potentially incorrectly compute the si
- CVE-2026-47328 MEDIUM 6.1 MITIGATE Ubuntu Linux 6.8, 6.17 and 7.0 contain AppArmor SAUCE patches which incorrectly attempt to free a pointer whic
- CVE-2026-47332 MEDIUM 5.5 MITIGATE Ubuntu Linux 6.8, 6.17 and 7.0 contain AppArmor SAUCE patches which incorrectly validate the size of an intern