7.8
HIGH
CVE-2025-6020
Linux-PAM pam_namespace Path Traversal Privilege Escalation Vulnerability
Description

A flaw was found in linux-pam. The module pam_namespace may use access user-controlled paths without proper protection, allowing local users to elevate their privileges to root via multiple symlink attacks and race conditions.

INFO

Published Date :

June 17, 2025, 1:15 p.m.

Last Modified :

July 10, 2025, 8:15 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2025-6020 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2025-6020 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 Linux-pam linux-pam

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

None

Dockerfile Python HTML

Updated: 2 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 28, 2025, 8:46 a.m. This repo has been linked 81 different CVEs too.

All Public RunWhen Helm Charts - Managed by terraform

Smarty Shell

Updated: 3 days, 2 hours ago
1 stars 0 fork 0 watcher
Born at : Sept. 18, 2023, 10:09 a.m. This repo has been linked 79 different CVEs too.

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-6020 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-6020 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]

    Jul. 10, 2025

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

    Jul. 09, 2025

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

    Jul. 07, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:10354
    Added Reference https://access.redhat.com/errata/RHSA-2025:10357
    Added Reference https://access.redhat.com/errata/RHSA-2025:10358
    Added Reference https://access.redhat.com/errata/RHSA-2025:10359
    Added Reference https://access.redhat.com/errata/RHSA-2025:10361
    Added Reference https://access.redhat.com/errata/RHSA-2025:10362
  • CVE Modified by [email protected]

    Jul. 02, 2025

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

    Jul. 01, 2025

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

    Jul. 01, 2025

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

    Jun. 24, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:9526
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Jun. 17, 2025

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2025/06/17/1
  • New CVE Received by [email protected]

    Jun. 17, 2025

    Action Type Old Value New Value
    Added Description A flaw was found in linux-pam. The module pam_namespace may use access user-controlled paths without proper protection, allowing local users to elevate their privileges to root via multiple symlink attacks and race conditions.
    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-6020
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2372512
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.
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-6020 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jul. 14, 2025 13:20