Skip to content
Server Security Center
KEVhigh7.4

CVE-2015-3246: Red Hat Libuser Race Condition

Red Hat Libuser · listed in the CISA catalog of actively exploited vulnerabilities since 2026-08-26.

CVSS v3.1 (Ubuntu)
7.4
high
EPSS (exploit probability, 30 days)
8.5%
higher than 95.1% of all CVEs
Added to CISA KEV
2026-08-26
US federal due date 2026-09-09
Ubuntu priority
high

CVE-2015-3246 explained

CVE-2015-3246 is a flaw in libuser, used by the userhelper program in the usermode package. The library modifies /etc/passwd directly, so a local user who triggers an error during the change can leave the file in an inconsistent state. Combined with CVE-2015-3245, it can be used to gain privileges, and CISA lists it as known exploited.

Impact

A local attacker without prior privileges can corrupt /etc/passwd and cause a denial of service. Attack complexity is high and no user interaction is needed. CVSS rates confidentiality, integrity and availability impact as high. When chained with CVE-2015-3245, the issue can lead to privilege escalation. Exploitation requires local access to a system where userhelper uses the vulnerable library.

Who is affected

The libuser source package is affected on three Ubuntu releases, all end of life. Ubuntu 14.04 LTS has a fix in 1:0.56.9.dfsg.1-1.2ubuntu2+esm1 and Ubuntu 16.04 LTS has a fix in 1:0.60~dfsg-1.2ubuntu0.1~esm1. Both fixes are available only through Ubuntu Pro (ESM). Ubuntu 25.10 has no fixed version published in the standard archive.

Written with AI from the data on this page and checked against it automatically.

Official 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.

CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk guidance and CISA’s “Forensics Triage Requirements”. Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

CISA notes

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. On Ubuntu 14.04 LTS, enable Ubuntu Pro (ESM) and update libuser to 1:0.56.9.dfsg.1-1.2ubuntu2+esm1 or later.
  2. On Ubuntu 16.04 LTS, enable Ubuntu Pro (ESM) and update libuser to 1:0.60~dfsg-1.2ubuntu0.1~esm1 or later.
  3. Upgrade Ubuntu 25.10 systems to a supported release, because 25.10 is end of life and has no fix.
  4. Plan upgrades of 14.04 and 16.04 systems to a supported release.
  5. Check /etc/passwd for consistency on systems where untrusted local users have access.

Ubuntu 25.10 is end of life and has no fixed version. Do not wait for a fix; upgrade to a supported release. Until then, limit local access to trusted users and consider whether the usermode userhelper program needs to be installed.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace libuser with the source package from the table above.

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="libuser"'

2. Compare each installed version with the fixed version for your release from the table (releases with a fixed version only)

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="libuser"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

Ubuntu 25.10 has reached end of life and no longer gets regular security fixes – upgrade to a supported release.

Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Questions about CVE-2015-3246

Can this be exploited remotely?
No. The attack vector is local. An attacker needs to be able to run programs on the system, though no prior privileges are required.
Why is it rated high if the description mentions only denial of service?
The description notes the issue can be combined with CVE-2015-3245 to gain privileges. The CVSS rating reflects high impact on confidentiality, integrity and availability, and CISA lists it as known exploited.
Do I need Ubuntu Pro to get the fix?
For Ubuntu 14.04 LTS and 16.04 LTS, yes. The fixed libuser packages are only available through Ubuntu Pro (ESM).

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.