CVE-2025-8941: linux-pam - Privilege Escalation
- Cve: CVE-2025-8941
- Name: linux-pam - Privilege Escalation
- Description: A flaw was found in linux-pam. The pam_namespace module may improperly handle user-controlled paths, allowing local users to exploit symlink attacks and race conditions to elevate their privileges to root. This CVE provides a "complete" fix for CVE-2025-6020.
- Impact: Local users can escalate privileges to root, compromising the entire system.
- Remediation: Update to the latest version containing the fix for CVE-2025-6020.
- Vulnerability type: race_condition
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00291
- Epss percentile: 0.22023
- Assignee: [email protected]
- Published at: 2025-08-13T15:15:41Z
- Age in days: 468
- Modified at: 2026-06-17T10:07:59Z
- References total: 19
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-8941
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Same in every row:
- Source: nvd
- Tags:
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts