Home / Ubuntu / linux kernel / CVE-2021-3493
CVE-2021-3493: is it exploited, and which versions of Ubuntu linux kernel are affected and fixed?
CVE-2021-3493 is a privilege Context Switching Error vulnerability in Ubuntu linux kernel, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on October 20, 2022, with a federal due date of November 10, 2022. Affected: linux kernel from 5.8 kernel before 5.8.0-50.56, linux kernel from 5.4 kernel before 5.4.0-72.80, linux kernel from 4.15 kernel before 4.15.0-142.146 and 1 more (CVE record by canonical). Fixed in 5.8.0-50.56, 5.4.0-72.80, 4.15.0-142.146 and 4.4.0-209.241 (CVE record by canonical). Severity: High (8.8, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2021-3493?
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.
From the CVE record by canonical, last updated October 21, 2025, 23:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Ubuntu | linux kernel | from 5.8 kernel before 5.8.0-50.56 from 5.4 kernel before 5.4.0-72.80 from 4.15 kernel before 4.15.0-142.146 from 4.4 kernel before 4.4.0-209.241 | 5.8.0-50.56, 5.4.0-72.80, 4.15.0-142.146, 4.4.0-209.241 |
As the CVE record by canonical states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | ubuntu linux | before 18.04 | operating system |
| canonical | ubuntu linux | from 18.04.1 before 20.04 | operating system |
| canonical | ubuntu linux | before 20.10 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:05 UTC.
How severe is CVE-2021-3493?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | canonical |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-3493 exploited in the wild?
- CISA KEV
- Listed as Linux Kernel Privilege Escalation Vulnerability, added October 20, 2022; federal agencies must act by November 10, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- The overlayfs stacking file system in Linux kernel does not properly validate the application of file capabilities against user namespaces, which could lead to privilege escalation.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, February 7, 2025)
- EPSS
- 49.2% probability of exploitation activity in the next 30 days, percentile 98.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
How do I fix it? (from the CVE record)
Apply https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52
Is there a workaround? (from the CVE record)
Disable unprivileged user namespaces.
Where are the vendor advisories and references?
- https://ubuntu.com/security/notices/USN-4917-1 x_refsource_MISC
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52 x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2021/04/16/1 x_refsource_MISC
- http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html x_refsource_MISC
- http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.html x_refsource_MISC
- http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.html x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493 government-resource
Who found and reported it?
- An independent security researcher reporting to the SSD Secure Disclosure program (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 12, 2021
- Published
- April 17, 2021, 04:20 UTC
- CVE record updated
- October 21, 2025, 23:25 UTC by canonical
- NVD
- Analyzed, last modified June 17, 2026, 04:05 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect linux kernel?
- Apr 17, 2021CVE-2021-3492 Ubuntu Linux kernel: double free
- Apr 23, 2020CVE-2019-15794 Ubuntu Linux kernel: operation on a Resource after Expiration or Release
- Nov 6, 2008CVE-2008-4395 Linux Kernel: memory corruption (buffer overflow)
- Nov 15, 2007CVE-2006-7229 Ubuntu Linux Kernel: n/a
Questions about CVE-2021-3493
Is CVE-2021-3493 exploited in the wild?
Yes. CISA added CVE-2021-3493 to its Known Exploited Vulnerabilities catalog on October 20, 2022 and set federal agencies a due date of November 10, 2022. FIRST's EPSS gives it a 49.2% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ubuntu linux kernel are affected by CVE-2021-3493?
linux kernel from 5.8 kernel before 5.8.0-50.56, linux kernel from 5.4 kernel before 5.4.0-72.80, linux kernel from 4.15 kernel before 4.15.0-142.146 and linux kernel from 4.4 kernel before 4.4.0-209.241, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2021-3493?
5.8.0-50.56, 5.4.0-72.80, 4.15.0-142.146 and 4.4.0-209.241, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-3493?
High (8.8, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2021-3493?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.