CVE-2025-6020: Linux-pam: linux-pam directory traversal
Vulnerability summary
CVE-2025-6020 is a high (CVSS 7.8) vulnerability in pam. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.8% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 1Timeline
- 17-06-2025PublishedVulnerability first disclosed.
- 06-11-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 version- 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.49%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.47% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
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 | All versions (No fix recorded) | < 1.5.2-6+deb12u3 | < 1.7.0-5
Opensuse1 product
- pam&distro=openSUSE Tumbleweed< 1.7.1-1.1
Ubuntu1 product
- pamAll versions (No fix recorded) | < 1.4.0-11ubuntu2.6 | < 1.5.3-5ubuntu5.4 | < 1.5.3-7ubuntu6 | < 1.1.8-1ubuntu2.2+esm5 | < 1.1.8-3.2ubuntu2.3+esm6 | < 1.1.8-3.6ubuntu2.18.04.6+esm3 | < 1.3.1-5ubuntu4.7+esm2
5 vendors · 12 products