← Vulnerability feed

Vulnerability record · CVE-2021-3493 · published 17 April 2021

CVE-2021-3493: Ubuntu Linux kernel overlayfs file capability privilege escalation

Canonical · Ubuntu Linux

The Linux kernel overlayfs implementation failed to properly validate file capability settings on files in an underlying filesystem with respect to user namespaces. Combined with an Ubuntu-specific patch allowing unprivileged overlay mounts, this lets a local user escalate privileges. It matters because the flaw is in the kernel, affects Ubuntu systems, and is listed in CISA KEV.

7.8 CVSS 3.1 High CISA KEV since 20 Oct 2022 EPSS 49% · top 1.2% CWE-270 · CWE-270CWE-863 · Incorrect authorization
7.8CVSS 3.1 base score, v2 7.2
49%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
13References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityLocal privilege escalation to root on Ubuntu with public exploits and KEV listing, though it requires an existing local account.

What it is

The Linux kernel overlayfs implementation failed to properly validate file capability settings on files in an underlying filesystem with respect to user namespaces. Combined with an Ubuntu-specific patch allowing unprivileged overlay mounts, this lets a local user escalate privileges. It matters because the flaw is in the kernel, affects Ubuntu systems, and is listed in CISA KEV.

Impact

An attacker with a local account gains elevated privileges, up to root, on the affected host. That yields full control of the system, including data, other users' processes, and kernel-level operations.

Attack surface

Reached locally by an authenticated user who can create unprivileged user namespaces and overlay mounts; no user interaction beyond running the exploit is needed. The CVSS vector is AV:L/PR:L/UI:N, confirming local access with low privileges.

Exploitation

CVE-2021-3493 is in CISA KEV (added 2022-10-20) and has an EPSS 30-day probability of about 0.49 (98.8th percentile). Multiple references are tagged Exploit, indicating public exploit code exists.

What to do

  • Apply the Ubuntu kernel update per USN-4917-1 and reboot or use kernel livepatch where applicable.
  • Restrict unprivileged user namespaces (e.g., kernel.unprivileged_userns_clone=0) where the workload permits.
  • Limit local shell access and audit accounts that can create user namespaces or overlay mounts.
  • Track KEV remediation due date (2022-11-10) and confirm all affected Ubuntu kernels are patched.

Detection

  • Monitor for unexpected creation of user namespaces and overlay mounts by non-privileged users.
  • Alert on processes gaining root or changing file capabilities outside normal change windows.
  • Hunt for known public exploit artifacts or command patterns associated with overlayfs capability abuse.
  • Review kernel and audit logs for privilege escalation attempts from low-privileged accounts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2021-3493 to the Known Exploited Vulnerabilities catalog on 20 October 2022 as "Linux Kernel Privilege Escalation Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 10 November 2022.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.html Press/Media CoverageThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.html ExploitThird Party AdvisoryVDB Entry
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52 Mailing ListPatchThird Party Advisory
https://ubuntu.com/security/notices/USN-4917-1 Vendor Advisory
https://www.openwall.com/lists/oss-security/2021/04/16/1 Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.html Press/Media CoverageThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.html ExploitThird Party AdvisoryVDB Entry
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52 Mailing ListPatchThird Party Advisory
https://ubuntu.com/security/notices/USN-4917-1 Vendor Advisory
https://www.openwall.com/lists/oss-security/2021/04/16/1 Mailing ListThird Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493 US Government Resource

Track CVE-2021-3493 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-11651SaltStack Salt master authentication bypass in ClearFuncsSaltStack Salt before 2019.2.4 and 3000 before 3000.2 fails to properly validate method calls in the salt-master ClearFuncs class, allowing remote un…KEVEPSS 97%analysed9.8CVE-2020-7247OpenSMTPD MAIL FROM command injection allows remote root code executionOpenSMTPD 6.6, as shipped in OpenBSD 6.6 and other products, mishandles input validation in smtp_mailaddr in smtp_session.c, returning an incorrect v…KEVEPSS 99%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2019-16928Exim heap buffer overflow in string_vformat via long EHLO commandExim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code e…KEVEPSS 42%analysed9.8CVE-2019-10149Exim MTA improper recipient validation leads to remote command executionExim versions 4.87 through 4.91 fail to properly validate recipient addresses in the deliver_message() function in /src/deliver.c, allowing command i…KEVEPSS 100%analysed9.8CVE-2018-6789Exim SMTP base64d buffer overflow allows remote code executionExim before 4.90.1 contains a buffer overflow in the base64d function of its SMTP listener. A handcrafted message can trigger the overflow, and the f…KEVEPSS 82%analysed9.8CVE-2016-8735Apache Tomcat JmxRemoteLifecycleListener remote code executionApache Tomcat's JmxRemoteLifecycleListener was not updated to match the Oracle CVE-2016-3427 credential-type fix, leaving a deserialization weakness …KEVEPSS 90%analysed9.8CVE-2016-3427Oracle Java SE JMX Improper Access Control VulnerabilityCVE-2016-3427 is an unspecified vulnerability in Oracle Java SE 6u113, 7u99, 8u77, Java SE Embedded 8u77, and JRockit R28.3.9, reached through vector…KEVEPSS 92%analysed

Source: NIST National Vulnerability Database (record CVE-2021-3493), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.