CVE-2025-8941 Details
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.
A privilege escalation vulnerability has been identified in the Linux-PAM pam_namespace module. The issue arises because the module may mishandle user-controlled paths, creating opportunities for local users to exploit symlink attacks and race conditions. This exploitation can lead to unauthorized elevation of privileges to root. The vulnerability is present in Red Hat Enterprise Linux 7, 8, and 9.
Users are advised to disable the pam_namespace module if it is not essential for their environment. If the module is needed, it should be carefully reviewed and configured to avoid operating on directories or paths that can be influenced by unprivileged users, such as home directories or world-writable locations like /tmp.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 13, 2025CISA-ADP
Assessed Aug 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux-pam | All versions |
CPE
Remediation
| |
| Red Hat Enterprise Linux | All versions |
CPE
Remediation
| |
Change History
14 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 20, 2025 | CVE Modified | [email protected] |
| Nov 6, 2025 | CVE Modified | [email protected] |
| Oct 16, 2025 | CVE Modified | [email protected] |
| Sep 23, 2025 | CVE Modified | [email protected] |
| Sep 15, 2025 | CVE Modified | [email protected] |
| Sep 15, 2025 | CVE Modified | [email protected] |
| Sep 11, 2025 | CVE Modified | [email protected] |
| Sep 3, 2025 | CVE Modified | [email protected] |
| Sep 3, 2025 | CVE Modified | [email protected] |
| Sep 3, 2025 | CVE Modified | [email protected] |
| Sep 1, 2025 | CVE Modified | [email protected] |
| Aug 13, 2025 | New CVE Received | [email protected] |
Volerion