CVE-2023-0386 — linux
HIGHCVE-2023-0386 is a high-severity (CVSS 7.8) CWE-282 vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2025-06-17) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2025-06-17. Federal agencies were required to remediate by 2025-07-08.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2023-0386.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2023-0386 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
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.
Affected Products
ubuntu linuxcanonicaldebian linuxdebianlinux kernellinuxh300s firmwarenetapph410c firmwarenetapph410s firmwarenetappResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
A flaw was found in the Linux kernel, where unauthorized access to the e…
A flaw was found in the Linux kernel, where unauthorized access to the e…
A flaw was found in the Linux kernel, where unauthorized access to the e…
A flaw was found in the Linux kernel, where unauthorized access to the e…
A flaw was found in the Linux kernel, where unauthorized access to the e…
A flaw was found in the Linux kernel, where unauthorized access to the e…
A flaw was found in the Linux kernel, where unauthorized access to the e…
A flaw was found in the Linux kernel, where unauthorized access to the e…
A flaw was found in the Linux kernel, where unauthorized access to the e…
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for CVE-2023-0386, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability was first introduced into Red Hat Enterprise Linux starting in version 8.6. Earlier releases are not affected, including Red Hat Enterprise Linux 8.4.
To mitigate this issue, prevent the module overlay from being loaded. Please see https://access.redhat.com/solutions/41278 for information on how to blacklist a kernel module to prevent it from loading automatically.Source: Red Hat security advisory for CVE-2023-0386 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-425.19.2.rt7.230.el8_7 | RHSA-2023:1584 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-425.19.2.el8_7 | RHSA-2023:1566 |
| Red Hat Enterprise Linux 8 | kpatch-patch | RHSA-2023:1659 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | kernel-0:4.18.0-372.51.1.el8_6 | RHSA-2023:1554 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | kpatch-patch | RHSA-2023:1660 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-162.23.1.el9_1 | RHSA-2023:1703 |
| Red Hat Enterprise Linux 9 | kernel-rt-0:5.14.0-162.23.1.rt21.186.el9_1 | RHSA-2023:1691 |
| Red Hat Enterprise Linux 9 | kpatch-patch | RHSA-2023:1681 |
Frequently Asked Questions
Is CVE-2023-0386 in your dependencies?
Find it across , including transitive dependencies.