CVE-2025-6020: pam Path Traversal
CVSS: 7.8v3.1HighDeferred
AliasesSUSE-SU-2025:20427-1SUSE-SU-2025:20441-1RHSA-2025:10024RHSA-2025:10027RHSA-2025:10180RHSA-2025:10354RHSA-2025:10357RHSA-2025:10358RHSA-2025:10359RHSA-2025:10361RHSA-2025:10362RHSA-2025:20181RHSA-2025:22019RHSA-2025:9526UBUNTU-CVE-2025-6020USN-7580-1DEBIAN-CVE-2025-6020openSUSE-SU-2025:15256-1
Published 17-06-2025Last modified 12-10-2026
Vulnerability summary
CVE-2025-6020 is a high (CVSS 7.8) Path Traversal vulnerability in pam. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.5% of scored vulnerabilities.
CVSS score
7.8/10
010
High · v3.1 (CVE.org)EPSS score
0.46%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 4 · Related 1Timeline
- 17-06-2025PublishedVulnerability first disclosed.
- 12-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 versionHigh 7.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSourcesAll 5 agree
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
0.00 pp
From 0.46% on 19-09-2026
19-09-202619-10-2026
EPSS score0.46%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat7 products
- pam< 0:1.5.1-24.el9_4 | < 0:1.3.1-37.el8_10 | < 0:1.5.1-15.el9_2.1 | < 0:1.5.1-9.el9_0.2 | < 0:1.1.8-23.el7_9.1 | < 0:1.3.1-26.el8_8.1 | < 0:1.3.1-16.el8_6.2 | < 0:1.3.1-14.el8_4.1 | < 0:1.3.1-8.el8_2.1 | < 0:1.6.1-8.el10 | < 0:1.6.1-8.el10_0 | < 0:1.5.1-25.el9_6
- pam-debuginfo< 0:1.5.1-24.el9_4 | < 0:1.3.1-37.el8_10 | < 0:1.5.1-15.el9_2.1 | < 0:1.5.1-9.el9_0.2 | < 0:1.1.8-23.el7_9.1 | < 0:1.3.1-26.el8_8.1 | < 0:1.3.1-16.el8_6.2 | < 0:1.3.1-14.el8_4.1 | < 0:1.3.1-8.el8_2.1 | < 0:1.6.1-8.el10 | < 0:1.6.1-8.el10_0 | < 0:1.5.1-25.el9_6
- pam-debugsource< 0:1.5.1-24.el9_4 | < 0:1.3.1-37.el8_10 | < 0:1.5.1-15.el9_2.1 | < 0:1.5.1-9.el9_0.2 | < 0:1.3.1-26.el8_8.1 | < 0:1.3.1-16.el8_6.2 | < 0:1.3.1-14.el8_4.1 | < 0:1.3.1-8.el8_2.1 | < 0:1.6.1-8.el10 | < 0:1.6.1-8.el10_0 | < 0:1.5.1-25.el9_6
- pam-devel< 0:1.5.1-24.el9_4 | < 0:1.3.1-37.el8_10 | < 0:1.5.1-15.el9_2.1 | < 0:1.5.1-9.el9_0.2 | < 0:1.1.8-23.el7_9.1 | < 0:1.3.1-26.el8_8.1 | < 0:1.3.1-16.el8_6.2 | < 0:1.3.1-14.el8_4.1 | < 0:1.3.1-8.el8_2.1 | < 0:1.6.1-8.el10 | < 0:1.6.1-8.el10_0 | < 0:1.5.1-25.el9_6
- pam-docs< 0:1.5.1-24.el9_4 | < 0:1.5.1-15.el9_2.1 | < 0:1.5.1-9.el9_0.2 | < 0:1.5.1-25.el9_6
Suse2 products
- pam&distro=SUSE Linux Micro 6.0< 1.6.0-5.1
- pam&distro=SUSE Linux Micro 6.1< 1.6.1-slfo.1.1_3.1
Debian1 product
- pam< 1.5.2-6+deb12u2 | < 1.7.0-5
Opensuse1 product
- pam&distro=openSUSE Tumbleweed< 1.7.1-1.1
Ubuntu1 product
- pamAll versions (No fix recorded) | < 1.5.3-7ubuntu6 | < 1.4.0-11ubuntu2.6 | < 1.5.3-5ubuntu5.4
5 vendors · 12 products