CVE-2018-18955
CVE-2018-18955 is an auth bypass in Linux Kernel (CVSS 7.0, High).
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 4.19.2.
Public exploit: 5 sourcesFix4.19.2Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.843839
What to do
Find your product and version, then upgrade to the build on the right.
- Linux KernelAffected: ≥ 4.15, < 4.19.2Upgrade to: 4.19.2Stated by: NVD
- Open-source community Debian GNU/LinuxAffected: 9Upgrade to: not statedStated by: BDU
- RusBITech-Astra Astra Linux Special EditionAffected: 1.6 «Smolensk»Upgrade to: not statedStated by: BDU
- Open-source community LinuxAffected: from 4.15 before 4.18.18 inclusiveUpgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check your systems’ Linux kernel version and whether they’re running within container/isolation setups that use nested user namespaces with more than five UID/GID mappings.
- If your kernel is 4.15.x through 4.19.x (excluding 4.19.2) and nested user namespaces are enabled with >5 UID/GID ranges, plan an update immediately.
- Upgrade/reboot to a kernel version fixed for CVE-2018-18955 (linux kernel 4.19.2 or newer, as applicable for your distro).
- If you can’t patch right away, restrict local “administrative” access inside containers/isolated contexts and reduce exposure to untrusted users who might be able to obtain CAP_SYS_ADMIN within those namespaces.
What it is
From the CVE record
In the Linux kernel 4.15.x through 4.19.x before 4.19.2, map_write() in kernel/user_namespace.c allows privilege escalation because it mishandles nested user namespaces with more than 5 UID or GID ranges. A user who has CAP_SYS_ADMIN in an affected user namespace can bypass access controls on resources outside the namespace, as demonstrated by reading /etc/shadow. This occurs because an ID transformation takes place properly for the namespaced-to-kernel direction but not for the kernel-to-namespaced direction.
In plain language
Written by AI from the recordThis is a Linux kernel bug (CVE-2018-18955) that can let a local, privileged user break out of a container/isolation setup to read sensitive files; if you run an old Linux kernel (4.15–4.19 before 4.19.2) with nested user namespaces enabled, you should act.
CVE-2018-18955 is a kernel privilege-escalation issue in map_write() (kernel/user_namespace.c) affecting Linux kernel 4.15.x–4.19.x before 4.19.2, where mishandling nested user namespaces with more than five mapped UID/GID ranges allows a local attacker with CAP_SYS_ADMIN inside the namespace to escape isolation and access data outside it (e.g., password-file contents).
If you're affected
- Sensitive system data exposure
- Account takeover via stolen hashes
- Full local privilege escalation
- Service disruption from compromise
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
5 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
7.7% chance of exploitation activity in the next 30 days, which ranks it in the 95th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 471 days before any public exploit.
- EPSS band changemoderate → 0epss band change
- EPSS band change0 → moderateepss band change
- EPSS band changemoderate → 0epss band change
- EPSS band change0 → moderateepss band change
- EPSS band changemoderate → 0epss band change
- EPSS band change0 → moderateepss band change
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.0 vector
Open in the CVSS calculatorCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored 7.0 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/torvalds/linux/commit/d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd
- cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.19
- usn.ubuntu.com/3836-2/
And 47 more references. See all after sign-in
Questions about CVE-2018-18955
- Is CVE-2018-18955 being exploited?
- Not confirmed. Public exploit code exists (5 sources), but CVE-2018-18955 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 7.7%.
- Which versions are affected by CVE-2018-18955?
- Debian GNU/Linux: 9. Linux: from 4.15 before 4.18.18 inclusive. Linux Kernel: ≥ 4.15, < 4.19.2. 1 more product is listed in the record.
- How do I fix or mitigate CVE-2018-18955?
- Upgrade to 4.19.2 or later. The advisory is on security.netapp.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Debian GNU/Linux, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI