7.8

CVE-2025-6020: pam Path Traversal

CVSS: 7.8v3.1HighDeferred
AliasesSUSE-SU-2025:20427-1SUSE-SU-2025:20441-1RHSA-2025:10024
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.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.46%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 1

Timeline

  1. 17-06-2025
    PublishedVulnerability first disclosed.
  2. 12-10-2026
    Last 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

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 score
0.46%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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

References

56 links
Show all 56 references