Red Hat Libuser Race Condition Vulnerability (CVE-2015-3246)
Published Last modified In CISA KEV since Sources: CVE.org, Ubuntu
What is affected, what to do
libuser before 0.56.13-8 and 0.60 before 0.60-7, as used in the userhelper program in the usermode package, directly modifies /etc/passwd, which allows local users to cause a denial of service (inconsistent file state) by causing an error during the modification. NOTE: this issue can be combined with CVE-2015-3245 to gain privileges.
The vulnerability is being actively exploited; treat it as a priority. Update Red Hat Libuser to version 0.56.13-8, Red Hat Libuser to version 0.60-7. Immediate actions, mitigation and detection rules are in the runbook below.
- Affected
- Redhat Enterprise Linux
eq 5.0..5.0 - Redhat Enterprise Linux
eq 6.0..6.0 - Redhat Enterprise Linux
eq 7.0..7.0 - OpenSUSE
eq 13.2..13.2 - Red Hat Libuser
lt *..0.56.13-8 - Red Hat Libuser
lt 0.60..0.60-7
- Redhat Enterprise Linux
- Fixed in
- Red Hat Libuser
0.56.13-8 - Red Hat Libuser
0.60-7
- Red Hat Libuser
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
7.4
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: Vendor (CNA), CVSS v3
7.4
CVSS v3
Severity High on the scale from 0 to 10.
Source: CVE.org, Ubuntu
8.5 %
EPSS score
Moderate — model estimates 1-10% exploitation likelihood.
Source: FIRST EPSS, percentile 95.1
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 209.29 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploited
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 7.4 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 7.4
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 8.5 %
- Moderate — model estimates 1-10% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 95.1
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- Actively exploited
- Published
In CISA KEV since
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- CISA assessment (SSVC)
- Exploitation: active · not automatable · Technical impact: total
- Source: CISA Vulnrichment, as of 27 August 2026
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-367
Response and mitigation
Why act now?
Prioritisation rationale
This is a local privilege-escalation building block. An attacker first needs a foothold shell, typically from stolen SSH credentials or a webshell, then chains this race condition with CVE-2015-3245 to reach root. Public exploit code has existed for years, and exploitation likelihood sits well above average; CISA does not flag ransomware campaign use. Typical targets are legacy RHEL 6/7 and older openSUSE estates with multiple local users. Fully patched fleets face minimal risk. Legacy multi-user or internet-adjacent hosts should be remediated within days, and removing the setuid bit is an immediate, low-cost bridge until then.
Runbook step 1
Immediate response (0-24 h)
- Inventory: Run
rpm -q libuser usermodeacross all RHEL, CentOS and openSUSE hosts. libuser before 0.56.13-8 and 0.60 before 0.60-7 is vulnerable. Distributions backport fixes, so compare the installed build against the Red Hat or SUSE advisory. Patch available from the vendor — check the vendor advisory for the exact package version. - Patch: Apply the update via
yum update libuser usermodeorzypper patch. Patch CVE-2015-3245 (userhelper/chfn) at the same time, because privilege escalation requires chaining both bugs. No reboot is needed. - No-patch stopgap: Strip the setuid bit with
chmod u-s /usr/sbin/userhelper. This kills the attack path outright. On servers the impact is usually limited to losing GUI console helpers such assystem-config-*. - Integrity check of /etc/passwd: Run
pwck -rand hunt for unexpected UID 0 accounts withawk -F: '$3==0' /etc/passwd. Diff the file against/etc/passwd-or your AIDE baseline, and look for truncated or malformed lines. - Order by multi-user exposure: Start with jump hosts, terminal servers, shared developer and build boxes, and shell hosts. Next, fix systems where a web application compromise would hand an attacker a local shell.
- Inventory: Run
Runbook step 2
Mitigation layers
- Configuration (filesystem): Inventory SUID binaries (
find / -perm -4000 -type f 2>/dev/null) and check them against an allowlist. On servers that do not need them, permanently neuter userhelper, chfn and chsh. - IAM/least privilege: Cut interactive shell access to what operations actually require. Set service accounts to
/sbin/nologin. Restrict SSH to admin groups viaAllowGroups, since exploitation requires local code execution. - Endpoint hardening: Keep SELinux
enforcingon RHEL 7 and later. Limit userhelper use through PAM (/etc/pam.d/chfn,/etc/pam.d/chsh) withpam_wheelorpam_succeed_if, so only authorised groups can invoke it. - File integrity monitoring: Enable AIDE, Tripwire or EDR FIM on
/etc/passwd,/etc/shadowand/etc/group. Alert on any change outside a change window. - Backup and recovery: Keep off-host copies of
/etc/passwdand/etc/shadow. A corrupted passwd file means login outages, so document the rescue-console recovery path.
- Configuration (filesystem): Inventory SUID binaries (
Runbook step 3
Detection rules
- auditd, userhelper execution:
-a always,exit -F path=/usr/sbin/userhelper -F perm=x -F auid>=1000 -F auid!=unset -k userhelper_exec. SPL:index=linux key=userhelper_exec | stats count values(exe) by host, auid. On servers, any hit warrants a look. - auditd, passwd writes:
-w /etc/passwd -p wa -k passwd_mod. Alert whenexe=/usr/sbin/userhelperwrites the file on behalf of a non-adminauid, or when writes arrive in rapid bursts that suggest race attempts. - Resource-limit tampering: The public exploit forces write errors through file-size limits. Correlate
setrlimit/prlimit64syscalls (-a always,exit -F arch=b64 -S setrlimit -S prlimit64 -F auid>=1000 -k rlimit) with a userhelper execution by the sameauidshortly afterwards. - EDR process ancestry: Flag the chain
bash/sh → userhelper → (chfn|chsh)when arguments are odd, such as embedded newlines or oversized GECOS fields. Also flag anyeuid=0shell whose ancestry traces back to an unprivileged login. - State indicators: Watch for new UID 0 entries, empty password fields (
::), a truncated final line in/etc/passwd, or a sudden drop in file size. Schedule an osquery check (SELECT * FROM users WHERE uid=0;) to catch these.
- auditd, userhelper execution:
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
libuser before 0.56.13-8 and 0.60 before 0.60-7, as used in the userhelper program in the usermode package, directly modifies /etc/passwd, which allows local users to cause a denial of service (inconsistent file state) by causing an error during the modification. NOTE: this issue can be combined with CVE-2015-3245 to gain privileges.
Source: cvelistv5, Ubuntu Security Notices, NVD (NIST), CISA KEV Catalog
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| libuser_project | libuser |
|
|
Vendors and products
Affected operating systems
| Linux | redhat | enterprise_linux | 5.0 |
| Linux | redhat | enterprise_linux | 6.0 |
| Linux | redhat | enterprise_linux | 7.0 |
| Linux | ubuntu | libuser | xenial |
| Linux | opensuse | opensuse | 13.2 |
Weakness classes (CWE)
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition
Base
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
Entry at MITRE CWE-367
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| CISA KEV Catalog | CISA Known Exploited Vulnerability (opens in a new tab)cisa.gov | actively exploited | |
| Exploit-DB | EDB-ID 44633 (opens in a new tab)exploit-db.com | PoC (publicly reported)reported, not verified | — |
| PoC-in-GitHub (nomi-sec) | CVE-2015-3246 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified |
References & sources
- securityfocus.com76022Vulnerability database, x_refsource_BID
- lists.fedoraproject.orgFEDORA-2015-12301Vendor advisory, x_refsource_FEDORA
- exploit-db.com44633Exploit, x_refsource_EXPLOIT-DB
- access.redhat.comarticles/1537873x_refsource_CONFIRM
- rhn.redhat.comRHSA-2015:1482Vendor advisory, x_refsource_REDHAT
- lists.fedoraproject.orgFEDORA-2015-12064Vendor advisory, x_refsource_FEDORA
- lists.opensuse.orgopenSUSE-SU-2015:1332Vendor advisory, x_refsource_SUSE
- qualys.com2015/07/23/cve-2015-3245-cve-2015-3246/cve-2015-3245-cve-2015-3…x_refsource_MISC
- securitytracker.com1033040Vulnerability database, x_refsource_SECTRACK
- rhn.redhat.comRHSA-2015:1483Vendor advisory, x_refsource_REDHAT
- blog.talosintelligence.comuat-10147-chinese-speaking-adversary-integrates-agentic-ai-into…Third-party advisory
- cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2015-3246government-resource
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
NVD analysis modifiedNVD
Record modifiedCISA ADP
CVSS V3.1: AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS V3.1: before AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, after —
CISA assessment (SSVC): exploitation: active, automatable: no
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After CVSS added —AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS removed AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H—SSVC assessment removed {"id":"CVE-2015-3246","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-08-26T00:00:00+00:00"}—SSVC assessment added —{"id":"CVE-2015-3246","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-08-27T03:56:43.101618Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
CISA KEV entry updated9119a7d8…
4 individual changes: Date Added, Due Date, Required Action, Vulnerability Name
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After Date Added added —2026-08-26Due Date added —2026-08-26Required Action added —2026-08-26Vulnerability Name added —2026-08-26Source identifier: 9119a7d8-5eab-497f-8521-727c672e3725
Record modifiedRed Hat
New references:- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163044.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162947.html
- http://lists.opensuse.org/opensuse-security-announce/2015-08/msg00000.html
- http://rhn.redhat.com/errata/RHSA-2015-1482.html
and 6 more references
Show 21 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163044.htmlReference added —http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162947.htmlReference added —http://lists.opensuse.org/opensuse-security-announce/2015-08/msg00000.htmlReference added —http://rhn.redhat.com/errata/RHSA-2015-1482.htmlReference added —http://rhn.redhat.com/errata/RHSA-2015-1483.htmlReference added —http://www.securityfocus.com/bid/76022Reference added —http://www.securitytracker.com/id/1033040Reference added —https://access.redhat.com/articles/1537873Reference added —https://www.exploit-db.com/exploits/44633/Reference added —https://www.qualys.com/2015/07/23/cve-2015-3245-cve-2015-3246/cve-2015-3245-cve-2015-3246.txtReference removed http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163044.html—Reference removed http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162947.html—Reference removed http://lists.opensuse.org/opensuse-security-announce/2015-08/msg00000.html—Reference removed http://rhn.redhat.com/errata/RHSA-2015-1482.html—Reference removed http://rhn.redhat.com/errata/RHSA-2015-1483.html—Reference removed http://www.securityfocus.com/bid/76022—Reference removed http://www.securitytracker.com/id/1033040—Reference removed https://access.redhat.com/articles/1537873—Reference removed https://www.exploit-db.com/exploits/44633/—Reference removed https://www.qualys.com/2015/07/23/cve-2015-3245-cve-2015-3246/cve-2015-3245-cve-2015-3246.txt—Reference type removed https://www.qualys.com/2015/07/23/cve-2015-3245-cve-2015-3246/cve-2015-3245-cve-2015-3246.txt Types: Exploit—Source identifier: secalert@redhat.com
Record modifiedCISA ADP
CVSS V3.1: AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA assessment (SSVC): exploitation: active, automatable: no
Weakness type: CWE-367
Show 5 original changes
Individual changes of this event as published by NVD Type Action Before After CVSS added —AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness type (CWE) added —CWE-367Reference added —https://blog.talosintelligence.com/uat-10147-chinese-speaking-adversary-integrates-agentic-ai-into-post-compromise-operations/Reference added —https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2015-3246SSVC assessment added —{"id":"CVE-2015-3246","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"partial"}],"version":"2.0.3","timestamp":"2026-08-26T17:44:11.022663Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Show one older change
Record modifiedCVE Program
New references:- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163044.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162947.html
- http://lists.opensuse.org/opensuse-security-announce/2015-08/msg00000.html
- http://rhn.redhat.com/errata/RHSA-2015-1482.html
and 6 more references
Show 21 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163044.htmlReference added —http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162947.htmlReference added —http://lists.opensuse.org/opensuse-security-announce/2015-08/msg00000.htmlReference added —http://rhn.redhat.com/errata/RHSA-2015-1482.htmlReference added —http://rhn.redhat.com/errata/RHSA-2015-1483.htmlReference added —http://www.securityfocus.com/bid/76022Reference added —http://www.securitytracker.com/id/1033040Reference added —https://access.redhat.com/articles/1537873Reference added —https://www.exploit-db.com/exploits/44633/Reference added —https://www.qualys.com/2015/07/23/cve-2015-3245-cve-2015-3246/cve-2015-3245-cve-2015-3246.txtReference removed http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163044.html—Reference removed http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162947.html—Reference removed http://lists.opensuse.org/opensuse-security-announce/2015-08/msg00000.html—Reference removed http://rhn.redhat.com/errata/RHSA-2015-1482.html—Reference removed http://rhn.redhat.com/errata/RHSA-2015-1483.html—Reference removed http://www.securityfocus.com/bid/76022—Reference removed http://www.securitytracker.com/id/1033040—Reference removed https://access.redhat.com/articles/1537873—Reference removed https://www.exploit-db.com/exploits/44633/—Reference removed https://www.qualys.com/2015/07/23/cve-2015-3245-cve-2015-3246/cve-2015-3245-cve-2015-3246.txt—Reference type removed https://www.qualys.com/2015/07/23/cve-2015-3245-cve-2015-3246/cve-2015-3245-cve-2015-3246.txt Types: Exploit—Source identifier: af854a3a-2127-422b-91ae-364da2661108
Linked advisories
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2015-3246"><img src="https://intel.neosec.eu/badge/cve/CVE-2015-3246.svg?lang=en" alt="CVE-2015-3246 – NEOSEC Intel" height="20"></a>