CVE-2025-6020

Source
https://cve.org/CVERecord?id=CVE-2025-6020
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6020.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-6020
Aliases
  • GHSA-f9p8-gjr4-j9gx
Downstream
AZL (2)
CLSA (10)
DEBIAN (1)
ECHO (1)
OESA (6)
openSUSE (1)
RHSA (14)
RLSA (5)
ROOT (2)
SUSE (3)
UBUNTU (1)
Related
Published
2025-06-17T12:44:08Z
Modified
2026-10-21T02:54:09Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Linux-pam: linux-pam directory traversal
Details

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.

Database specific
{
    "cna_assigner":  "redhat",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6020.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0:1.6.1-8.el10"
                        },
                        {
                            "fixed":  "0:1.6.1-8.el10_0"
                        },
                        {
                            "fixed":  "0:1.1.8-23.el7_9.1"
                        },
                        {
                            "fixed":  "0:1.3.1-37.el8_10"
                        },
                        {
                            "fixed":  "0:1.3.1-38.el8_10"
                        },
                        {
                            "fixed":  "0:1.3.1-8.el8_2.1"
                        },
                        {
                            "fixed":  "0:1.3.1-14.el8_4.1"
                        },
                        {
                            "fixed":  "0:1.3.1-16.el8_6.2"
                        },
                        {
                            "fixed":  "0:1.3.1-16.el8_6.2"
                        },
                        {
                            "fixed":  "0:1.3.1-16.el8_6.2"
                        },
                        {
                            "fixed":  "0:1.3.1-26.el8_8.1"
                        },
                        {
                            "fixed":  "0:1.3.1-26.el8_8.1"
                        },
                        {
                            "fixed":  "0:1.5.1-26.el9_6"
                        },
                        {
                            "fixed":  "0:1.5.1-25.el9_6"
                        },
                        {
                            "fixed":  "0:1.5.1-26.el9_6"
                        },
                        {
                            "fixed":  "0:1.5.1-25.el9_6"
                        },
                        {
                            "fixed":  "0:1.5.1-9.el9_0.2"
                        },
                        {
                            "fixed":  "0:1.5.1-15.el9_2.1"
                        },
                        {
                            "fixed":  "0:1.5.1-24.el9_4"
                        },
                        {
                            "fixed":  "1.11-19"
                        },
                        {
                            "fixed":  "1.11-8"
                        },
                        {
                            "fixed":  "1.12-4"
                        },
                        {
                            "fixed":  "7.13.5-4.1752066672"
                        },
                        {
                            "fixed":  "7.13.5-4.1752065732"
                        },
                        {
                            "fixed":  "7.13.5-4.1752065732"
                        },
                        {
                            "fixed":  "7.13.5-3.1752065737"
                        },
                        {
                            "fixed":  "7.13.5-4.1752065731"
                        },
                        {
                            "fixed":  "7.13.5-25"
                        },
                        {
                            "fixed":  "7.13.5-4.1752065736"
                        },
                        {
                            "fixed":  "7.13.5-2.1752065733"
                        },
                        {
                            "fixed":  "7.13.5-4.1752065755"
                        },
                        {
                            "fixed":  "1.36.0-11"
                        },
                        {
                            "fixed":  "1.36.0-11"
                        },
                        {
                            "fixed":  "1.36.0-11"
                        },
                        {
                            "fixed":  "1.36.0-10"
                        },
                        {
                            "fixed":  "1.36.0-10"
                        },
                        {
                            "fixed":  "1.36.0-4"
                        },
                        {
                            "fixed":  "1.36.0-9"
                        },
                        {
                            "fixed":  "1.36.0-12"
                        },
                        {
                            "fixed":  "1.36.0-18"
                        },
                        {
                            "fixed":  "1.36.0-11"
                        },
                        {
                            "fixed":  "1.36.0-7"
                        },
                        {
                            "fixed":  "v1.16.5-1760515757"
                        },
                        {
                            "fixed":  "1.8.0"
                        },
                        {
                            "fixed":  "2.0.0-1752592913"
                        },
                        {
                            "fixed":  "2.2.1-1758555934"
                        },
                        {
                            "fixed":  "1.5.7-1759331989"
                        },
                        {
                            "fixed":  "rhosdt-3.6-1752046452"
                        },
                        {
                            "fixed":  "rhosdt-3.6-1752046437"
                        },
                        {
                            "fixed":  "rhosdt-3.6-1752046439"
                        },
                        {
                            "fixed":  "rhosdt-3.6-1752070865"
                        },
                        {
                            "fixed":  "rhosdt-3.6-1752070873"
                        },
                        {
                            "fixed":  "rhosdt-3.6-1751993590"
                        },
                        {
                            "fixed":  "rhosdt-3.6-1752070827"
                        },
                        {
                            "fixed":  "rhosdt-3.6-1752070833"
                        },
                        {
                            "fixed":  "rhosdt-3.6-1752070866"
                        },
                        {
                            "fixed":  "1.10.2-1757422110"
                        },
                        {
                            "fixed":  "1.10.2-1757421804"
                        },
                        {
                            "fixed":  "1.10.2-1757421879"
                        },
                        {
                            "fixed":  "1.10.2-1757422401"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "InverseAffectedRanges"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/linux-pam/linux-pam

Affected ranges

Type
GIT
Repo
https://github.com/linux-pam/linux-pam
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.7.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

Other
Linux-PAM-0-73
Linux-PAM-0-74
Linux-PAM-0-75
Linux-PAM-0-76
Linux-PAM-0-77
Linux-PAM-0-78
Linux-PAM-0-78-Beta1
Linux-PAM-0-79
Linux-PAM-0-80
Linux-PAM-0_99_10_0
Linux-PAM-0_99_1_0
Linux-PAM-0_99_2_0
Linux-PAM-0_99_2_1
Linux-PAM-0_99_3_0
Linux-PAM-0_99_4_0
Linux-PAM-0_99_5_0
Linux-PAM-0_99_6_0
Linux-PAM-0_99_6_1
Linux-PAM-0_99_6_2
Linux-PAM-0_99_6_3
Linux-PAM-0_99_7_0
Linux-PAM-0_99_7_1
Linux-PAM-0_99_8_0
Linux-PAM-0_99_8_1
Linux-PAM-0_99_9_0
Linux-PAM-1_0_0
Linux-PAM-1_0_90
Linux-PAM-1_0_91
Linux-PAM-1_0_92
Linux-PAM-1_1-branch
Linux-PAM-1_1_0
Linux-PAM-1_1_1
Linux-PAM-1_1_2
Linux-PAM-1_1_3
Linux-PAM-1_1_4
Linux-PAM-1_1_5
Linux-PAM-1_1_7
Linux-PAM-1_1_8
Linux-PAM-1_2_0
Linux-PAM-1_2_1
before_automake
help
pam_unix_refactor
Linux-PAM-1.*
Linux-PAM-1.3.0
v1.*
v1.1.4
v1.1.6
v1.3.1
v1.4.0
v1.5.0
v1.5.1
v1.5.2
v1.5.3
v1.6.0
v1.6.1
v1.7.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6020.json"