CVE-2023-0386A flaw was found in the Linux kernel, where unauthorized access to the execution of the setuid file with capabilities was found in the…
- 7.8HighCVSS base score
- 7.9%Exploitation in 30 daysEPSS · top 5.2% of all CVEs
- YesKnown exploitedin CISA's KEV since 17 Jun 2025
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
A flaw was found in the Linux kernel, where unauthorized access to the execution of the setuid file with capabilities was found in the Linux kernel’s OverlayFS subsystem in how a user copies a capable file from a nosuid mount into another mount. This uid mapping bug allows a local user to escalate their privileges on the system.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Linux Kernel Improper Ownership Management Vulnerability.
- Added
- 17 Jun 2025
- Fix due (US federal)
- 8 Jul 2025
- Used by ransomware
- Not known
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 17 Jun 2025.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits1
Metasploit modules1 module
- Local Privilege Escalation via CVE-2023-0386 (Metasploit module) (opens in a new tab)
exploit/linux/local/cve_2023_0386_overlayfs_priv_escRank excellentdisclosed 22 Mar 2023
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 2 months later
· 2 months later
Published
- 2 years later
· 2 years later
Added to CISA KEV
Known exploited in the wild
- 4 months later
· 4 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 7.9% · top 5.2% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
Kernel
- affected Linux kernel 6.2-rc6
References
References7
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4f11ada10d0a (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20230420-0004/ (opens in a new tab)x_transferred
- DSA-5402 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20230605 [SECURITY] [DLA 3446-1] linux-5.10 security update (opens in a new tab)mailing-listx_transferred
- http://packetstormsecurity.com/files/173087/Kernel-Live-Patch-Security-Notice-LSN-0095-1.html (opens in a new tab)x_transferred
- [debian-lts-announce] 20240627 [SECURITY] [DLA 3840-1] linux security update (opens in a new tab)mailing-listx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-0386 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-12447 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-0386)Record last updated .