CVE-2021-3493 is a privilege-escalation flaw in the OverlayFS code of Ubuntu's Linux kernels: file capabilities were not validated against user namespaces, so a local user could gain root. NVD gives it CVSS v2 7.2 and Canonical 8.8; CISA lists it as exploited. USN-4917-1 fixes it, including the Raspberry Pi kernels.
Vulnerability summary
CVSS base score
7.2
High severity
EPSS score (FIRST)
49.2%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2021-3493 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Ubuntu Linux kernel (linux, OverlayFS) | cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:lts:*:*:* | 5.8 before 5.8.0-50.56, 5.4 before 5.4.0-72.80, 4.15 before 4.15.0-142.146, 4.4 before 4.4.0-209.241 (CVE record); NVD CPE: Ubuntu 18.04 LTS, 20.04 LTS, 20.10 |
| Ubuntu Raspberry Pi kernels (linux-raspi, linux-raspi2) | pkg:deb/ubuntu/linux-raspi | Fixed in 5.8.0-1021.24 (20.10), 5.4.0-1034.37 (20.04 LTS), 5.4.0-1034.37~18.04.1 and raspi2 5.3.0-1039.41 (18.04 LTS) per USN-4917-1 |
What does this mean for affected devices?
CVE-2021-3493 is a privilege-escalation flaw in the OverlayFS implementation of Ubuntu's Linux kernels. Canonical, the CNA, explains that OverlayFS "did not properly validate with respect to user namespaces the setting of file capabilities on files in an underlying file system", and that the combination of unprivileged user namespaces with "a patch carried in the Ubuntu kernel to allow unprivileged overlay mounts" let an attacker gain elevated privileges. NVD's only Primary metric is NVD CVSS v2 7.2 (AV:L/AC:L/Au:N/C:C/I:C/A:C) with CWE-863; NVD publishes no Primary CVSS 3.x score. Canonical's CNA score is CVSS 3.1 8.8, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, with CWE-270 (NVD, CVE record). The CVSS v4 vs v3.1 guide covers how to read scores from different CVSS versions side by side.
Which kernels are affected?
The CVE record lists Ubuntu kernel packages: 5.8 before 5.8.0-50.56, 5.4 before 5.4.0-72.80, 4.15 before 4.15.0-142.146 and 4.4 before 4.4.0-209.241. NVD's CPE data names Ubuntu 18.04 LTS, 20.04 LTS and 20.10. Ubuntu's CVE tracker shows the linux package fixed in 5.8.0-50.56 (20.10), 5.4.0-72.80 (20.04 LTS), 4.15.0-142.146 (18.04 LTS) and 4.4.0-209.241 (16.04 LTS), with 14.04 LTS and 21.04 onward not affected. Upstream, the capability check moved into vfs_setxattr() with commit 7c03e2cda4a5, "vfs: move cap_convert_nscap() call into vfs_setxattr()", which CISA's KEV entry cites.
Which devices are affected?
Devices whose firmware is built on an affected Ubuntu release and kernel. USN-4917-1, published 15 April 2021, fixed it across Ubuntu 20.10, 20.04 LTS and 18.04 LTS, including the Raspberry Pi kernels: linux-image-raspi 5.8.0.1021.24 on 20.10, linux-image-5.4.0-1034-raspi 5.4.0-1034.37 on 20.04 LTS, and 5.4.0-1034.37~18.04.1 and linux-image-5.3.0-1039-raspi2 5.3.0-1039.41 on 18.04 LTS. Gateways, kiosks and edge boxes built on Ubuntu images for Raspberry Pi or x86 fall in this group. Embedded Linux images built on other distributions are outside the CVE record's affected list. CVE-2023-0386 is a later KEV-listed OverlayFS flaw that does affect upstream kernels. Our Linux kernel CVE triage guide covers checking distribution kernels for fixes.
How do you fix CVE-2021-3493?
Install the kernel packages from USN-4917-1 (or later) and reboot; Ubuntu notes that the update changed the kernel ABI, so third-party kernel modules must be rebuilt. For devices on an Ubuntu release that no longer receives updates, move to a supported release.
Is CVE-2021-3493 exploited?
Yes. CISA added it to the KEV catalog on 2022-10-20 with a due date of 2022-11-10 and the required action "Apply updates per vendor instructions"; known ransomware campaign use is listed as Unknown, as of 2026-11-25 (catalog version 2026.11.24). FIRST EPSS gives it 0.49166, the 98.9th percentile, in the 2026-11-24 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD: status Analyzed; [email protected] Primary CVSS v2 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C (no nvd CVSS 3.x); [email protected] Secondary CVSS 3.1 8.8 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H; CWE-863 (nvd Primary), CWE-270 (Ubuntu Secondary); CPE canonical ubuntu_linux 18.04 LTS to 20.04 LTS, 20.10; published 2021-04-17; read 2026-11-25. — NVD
- CVE record (CNA canonical, PUBLISHED 2021-04-17): Ubuntu linux kernel 5.8 < 5.8.0-50.56, 5.4 < 5.4.0-72.80, 4.15 < 4.15.0-142.146, 4.4 < 4.4.0-209.241; CNA CVSS 3.1 8.8; CWE-270. — CVE.org
- USN-4917-1 (15 April 2021), Ubuntu 20.10, 20.04 LTS, 18.04 LTS: fixes CVE-2021-3493; packages include linux-raspi; 20.10 linux-image-raspi 5.8.0.1021.24, linux-image-5.8.0-1021-raspi 5.8.0-1021.24; 20.04 linux-image-5.4.0-1034-raspi 5.4.0-1034.37; 18.04 linux-image-5.4.0-1034-raspi 5.4.0-1034.37~18.04.1, linux-image-5.3.0-1039-raspi2 5.3.0-1039.41; ABI change requires recompiling third-party kernel modules. — Ubuntu
- Ubuntu CVE tracker: linux fixed 20.10 5.8.0-50.56, 20.04 LTS 5.4.0-72.80, 18.04 LTS 4.15.0-142.146, 16.04 LTS 4.4.0-209.241; 14.04 LTS and 21.04 onward not affected. — Ubuntu
- Mainline commit 7c03e2cda4a5 'vfs: move cap_convert_nscap() call into vfs_setxattr()' (2020-12-14); cited in the KEV entry notes. — Linux kernel git
- CISA KEV catalog version 2026.11.24: Linux Kernel Privilege Escalation Vulnerability, dateAdded 2022-10-20, dueDate 2022-11-10, knownRansomwareCampaignUse Unknown, required action 'Apply updates per vendor instructions.'; checked 2026-11-25. — CISA KEV
- EPSS 0.49166, percentile 0.98904, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Is CVE-2021-3493 only an Ubuntu problem?
The CVE record lists only Ubuntu kernel packages and ties exploitation to a patch carried in the Ubuntu kernel that allows unprivileged overlay mounts; NVD's CPE data names only Ubuntu releases (per the CVE record and NVD).
Which Ubuntu kernel versions fix CVE-2021-3493?
linux 5.8.0-50.56 on 20.10, 5.4.0-72.80 on 20.04 LTS, 4.15.0-142.146 on 18.04 LTS and 4.4.0-209.241 on 16.04 LTS; Raspberry Pi kernels are fixed in 5.8.0-1021.24 and 5.4.0-1034.37 (per USN-4917-1 and Ubuntu's CVE tracker).
Why does NVD show only a CVSS v2 score for CVE-2021-3493?
NVD's Primary metric is CVSS v2 7.2 and it publishes no CVSS 3.x score of its own; the 3.1 score of 8.8 comes from Canonical as CNA (per NVD and the CVE record).
Is CVE-2021-3493 exploited?
Yes. CISA added it to the KEV catalog on 2022-10-20 with a due date of 2022-11-10; ransomware use is listed as Unknown, as of 2026-11-25 (catalog version 2026.11.24, per CISA KEV).
Questions about this page?