Security Advisory

CVE-2015-3246: libuser /etc/passwd Race Local Root

Last updated:
  • CVE-2015-3246

CVE-2015-3246 is a race condition in libuser, the Red Hat account library: it edits /etc/passwd in place, so a local user who interrupts the edit can corrupt the file and, with a companion bug, become root. It affects libuser before 0.56.13-8 and 0.60-7. CISA KEV added it in 2026. Install the July 2015 libuser updates.

Vulnerability summary

CVSS base score

7.2

High severity

EPSS score (FIRST)

14.4%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2015-3246 · Source: NVD (CVSS v2 Primary; CISA ADP CVSS 3.1 7.4 Secondary)

Affected components

ComponentCPEVersion range
libusercpe:2.3:a:libuser_project:libuser:*:*:*:*:*:*:*:*Before 0.56.13-8, and 0.60 before 0.60-7 (NVD)
Red Hat Enterprise Linux 6cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*Fixed in libuser-0.56.13-8.el6_7 (RHSA-2015:1482, 2015-07-23)
Red Hat Enterprise Linux 7cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*Fixed in libuser-0.60-7.el7_1 (RHSA-2015:1483, 2015-07-23)
Red Hat Enterprise Linux 5, Atomic Host, container, cloud and appliance images, RHEV-H hypervisor imagescpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:*Shipped a vulnerable libuser; RHEL 5 left unfixed (Production 3 phase); other images fixed by updating libuser or by later respins (Red Hat article 1537873)

What does this mean for affected devices?

CVE-2015-3246 is a flaw in libuser, the library that Red Hat-derived Linux distributions use to manage user and group accounts. NVD's description reads: "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", and notes that it "can be combined with CVE-2015-3245 to gain privileges" (NVD, CVE record). NVD's only Primary score is NVD CVSS v2 7.2 (AV:L/AC:L/Au:N/C:C/I:C/A:C). CISA ADP adds CVSS 3.1 7.4 (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) and CWE-367, a time-of-check time-of-use race; NVD's own weakness entry is the older CWE-264. Red Hat is the CNA.

Qualys found it and published its advisory on 2015-07-23. Programs such as passwd, chfn and chsh normally write a temporary copy of /etc/passwd and rename it; libuser changed the file directly, so a failure part-way through could leave it inconsistent. Qualys turned this into a local root exploit against userhelper and chfn.

Which systems are affected?

Red Hat's vulnerability article rates it Important and says all libuser versions in Red Hat Enterprise Linux 6 and 7 are affected. The fixes are RHSA-2015:1482 for RHEL 6 (libuser-0.56.13-8.el6_7) and RHSA-2015:1483 for RHEL 7 (libuser-0.60-7.el7_1), both issued on 2015-07-23. RHEL 5 is also affected, but Red Hat said it would not fix it there because RHEL 5 was in its Production 3 support phase. The article also names packaged images: official container images, Atomic Host, cloud and appliance images, and the Red Hat Enterprise Virtualization Hypervisor (RHEV-H) appliance images all included a vulnerable libuser. NVD's configuration adds openSUSE 13.2.

Only users who already have an account in /etc/passwd and know its password can use the flaw, Red Hat notes, so it matters on multi-user hosts and on any appliance image where an attacker has first gained a low-privileged shell. Cisco Talos reported on 2026-08-20 that the group it tracks as UAT-10147 used CVE-2015-3246 among several local privilege escalation exploits on compromised Linux web servers.

How do you fix CVE-2015-3246?

Install the updated libuser package (yum update libuser on RHEL 6 and 7), or the fixed package from your distribution, and update appliance or container images that bundle it. Where libuser cannot be updated, Red Hat's mitigation is to add pam_warn and pam_deny rules to the PAM configuration for chfn and chsh, so non-root users can no longer reach the vulnerable code; attempts are then logged. RHEL 5 systems have no fix and should be retired or isolated. Our patch management guide covers rolling out such updates, and the KEV and EPSS prioritisation guide explains why a 2015 local flaw now on KEV moves up the queue. Other KEV-listed local root flaws on Linux are polkit's CVE-2021-3560 and the kernel's CVE-2019-13272.

Is CVE-2015-3246 exploited?

Yes. CISA added it to the KEV catalog on 2026-08-26 as "Red Hat Libuser Race Condition Vulnerability", with a due date of 2026-09-09. The required action is to apply mitigations in accordance with vendor instructions under CISA's BOD 26-04 and its forensics triage requirements, or discontinue use if mitigations are unavailable. KEV notes that it affects an open-source component that could be used by different products. Known ransomware campaign use is marked Unknown. It is listed as of 2026-11-26 (catalog version 2026.11.25). FIRST EPSS gives it 0.14434, the 97.28th percentile, in the 2026-11-25 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD: [email protected] Primary CVSS 2 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C (no NVD v3 score); CISA ADP Secondary CVSS 3.1 7.4 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H with CWE-367; NVD CWE-264; CPE RHEL 5/6/7, openSUSE 13.2, libuser < 0.56.13-8 and 0.60 to < 0.60-7; published 2015-08-11; read 2026-11-26. — NVD
  • CVE record (CNA Red Hat): PUBLISHED 2015-08-11. — CVE.org
  • Red Hat article 1537873: CVE-2015-3246 Important; all libuser in RHEL 6 and 7 affected, RHSA-2015:1482 / RHSA-2015:1483; RHEL 5 affected, in Production 3 phase, not addressed; container images, Atomic Host, cloud and appliance images, RHEV-H images include vulnerable libuser; exploitation needs an /etc/passwd account and its password; mitigation pam_warn + pam_deny in /etc/pam.d/chfn and chsh. — Red Hat
  • RHSA-2015:1482 issued 2015-07-23, libuser-0.56.13-8.el6_7; RHSA-2015:1483 issued 2015-07-23, libuser-0.60-7.el7_1. — Red Hat
  • Qualys advisory (2015-07-23): libuser modifies /etc/passwd directly; turned into a local root exploit against userhelper and chfn. — Qualys
  • Cisco Talos (2026-08-20): UAT-10147 used CVE-2015-3246 among Linux local privilege escalation exploits after gaining web shell access. — Cisco Talos
  • CISA KEV catalog 2026.11.25: dateAdded 2026-08-26, due 2026-09-09, knownRansomwareCampaignUse Unknown, required action per BOD 26-04 and Forensics Triage Requirements, discontinue if unavailable; checked 2026-11-26. — CISA KEV
  • EPSS 0.14434, percentile 0.97276, dataset 2026-11-25, read 2026-11-26. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2015-3246 (CNA: Red Hat)
  3. Red Hat: libuser vulnerabilities (CVE-2015-3245, CVE-2015-3246)
  4. Red Hat RHSA-2015:1482: libuser security update (RHEL 6)
  5. Red Hat RHSA-2015:1483: libuser security update (RHEL 7)
  6. Qualys Security Advisory: CVE-2015-3245 and CVE-2015-3246
  7. Cisco Talos: UAT-10147 integrates agentic AI into post-compromise operations
  8. CISA KEV
  9. FIRST EPSS

Frequently asked questions

Which libuser versions fix CVE-2015-3246?

libuser 0.56.13-8 and 0.60-7. Red Hat shipped them as libuser-0.56.13-8.el6_7 for RHEL 6 (RHSA-2015:1482) and libuser-0.60-7.el7_1 for RHEL 7 (RHSA-2015:1483) on 2015-07-23 (per NVD and the Red Hat errata).

Is there a fix for Red Hat Enterprise Linux 5?

No. Red Hat says RHEL 5 is affected but was in its Production 3 support phase, so it did not fix the issue there. Retire or isolate RHEL 5 hosts and images; the PAM mitigation for chfn and chsh reduces exposure in the meantime (per Red Hat article 1537873).

What is the workaround if libuser cannot be updated?

Add pam_warn and pam_deny rules to the PAM files for chfn and chsh so that non-root users cannot run the vulnerable account-changing functions, including through userhelper; denied attempts are logged (per Red Hat article 1537873).

Is CVE-2015-3246 exploited in the wild?

Yes. CISA added it to the KEV catalog on 2026-08-26 and it is listed as of 2026-11-26 (catalog version 2026.11.25), with ransomware use marked Unknown; Cisco Talos reported its use by UAT-10147. FIRST EPSS gives it 0.14434, the 97.28th percentile, in the 2026-11-25 dataset (per CISA KEV, Cisco Talos and FIRST EPSS).