7.8
HIGH CVSS 3.1
CVE-2025-8941
Linux-pam: incomplete fix for cve-2025-6020
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.

INFO

Published Date :

Aug. 13, 2025, 3:15 p.m.

Last Modified :

Sept. 11, 2025, 4:15 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2025-8941 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
1 Unicode international_components_for_unicode
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Update linux-pam to fix privilege escalation via path manipulation and race conditions.
  • Update linux-pam to the latest version.
  • Apply the patch for CVE-2025-6020.
  • Review user path handling in pam_namespace.
  • Implement stricter path validation.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-8941 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-8941 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-8941 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Sep. 11, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:15709
  • CVE Modified by [email protected]

    Sep. 03, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:15099
    Added Reference https://access.redhat.com/errata/RHSA-2025:15101
    Added Reference https://access.redhat.com/errata/RHSA-2025:15102
    Added Reference https://access.redhat.com/errata/RHSA-2025:15103
    Added Reference https://access.redhat.com/errata/RHSA-2025:15105
    Added Reference https://access.redhat.com/errata/RHSA-2025:15106
  • CVE Modified by [email protected]

    Sep. 03, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:15104
    Added Reference https://access.redhat.com/errata/RHSA-2025:15107
  • CVE Modified by [email protected]

    Sep. 03, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:15100
  • CVE Modified by [email protected]

    Sep. 01, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:14557
  • New CVE Received by [email protected]

    Aug. 13, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-22
    Added Reference https://access.redhat.com/security/cve/CVE-2025-8941
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2388220
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact