cve.bz

CVE-2015-3246 Red Hat Libuser Race Condition Vulnerability

7.4 highKEVExploitEPSS 8.5%

High (7.4) in Red Hat Libuser. In CISA KEV since 2026-08-26. EPSS 8.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
8.5% (unchanged from 8.5% a week ago; 8.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2026-08-26, due 2026-09-09
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2026-08-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-264 Permissions, Privileges, and Access Controls
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-3246 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-3246?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-3246?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-3246 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:enterprise_linux5.0
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
opensuse:opensuse13.2
libuser_project:libuserbefore 0.56.13-8
libuser_project:libuserfrom 0.60 before 0.60-7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7libuser1:0.56.9.dfsg.1-1.2+deb7u1DLA-468-1
Debian12, 13, 14libuser1:0.62~dfsg-0.1DEBIAN-CVE-2015-3246
Ubuntu25.10libuserno fix listedUBUNTU-CVE-2015-3246
UbuntuPro:14.04:LTSlibuser1:0.56.9.dfsg.1-1.2ubuntu2+esm1UBUNTU-CVE-2015-3246
UbuntuPro:16.04:LTSlibuser1:0.60~dfsg-1.2ubuntu0.1~esm1UBUNTU-CVE-2015-3246 USN-8987-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morelibuser, libuser-devel, libuser-python and 1 more0:0.56.13-8.el6_7RHSA-2015:1482
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationlibuser, libuser-devel, libuser-python and 1 more0:0.60-7.el7_1RHSA-2015:1483
Red Hatenterprise_linux:7::serverlibuser, libuser-devel, libuser-python and 1 more0:0.60-7.ael7b_1RHSA-2015:1483

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue affects the versions of libuser as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This vulnerability has been rated as having Important security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Red Hat's mitigation

Add pam_warn and pam_deny rules to /etc/pam.d/chfn and /etc/pam.d/chsh to prevent non-root users from using this functionality. With these edits, the files should contain:

auth sufficient pam_rootok.so

auth required pam_warn.so

auth required pam_deny.so

auth include system-auth

account include system-auth

password include system-auth

session include system-auth

After these changes, attempts by unprivileged users to use chfn and chsh (and the respective functionality in the userhelper program) will fail, and will be logged (by default in /var/log/secure).

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6libuser-0:0.56.13-8.el6_7Fixed 2015-07-23RHSA-2015:1482
Red Hat Enterprise Linux 7libuser-0:0.60-7.ael7b_1Fixed 2015-07-23RHSA-2015:1483
Red Hat Enterprise Linux 5libuserWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-3246.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON