# CVE-2025-6020: Linux-pam: linux-pam directory traversal

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-17 · Modified: 2026-11-06
- Aliases: SUSE-SU-2025:20427-1, SUSE-SU-2025:20441-1, RHSA-2025:10024, RHSA-2025:10027, RHSA-2025:10180, RHSA-2025:10354, RHSA-2025:10357, RHSA-2025:10358, RHSA-2025:10359, RHSA-2025:10361, RHSA-2025:10362, RHSA-2025:20181, RHSA-2025:22019, RHSA-2025:9526, UBUNTU-CVE-2025-6020, USN-7580-1, DEBIAN-CVE-2025-6020, openSUSE-SU-2025:15256-1, USN-9284-1
- Record: https://cvemate.com/vulnerability/CVE-2025-6020 · JSON: https://cvemate.com/vulnerability/CVE-2025-6020/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.492%, percentile 43.882%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian pam (Debian): \< 1.5.2-6+deb12u2 \| All versions (No fix recorded) \| \< 1.5.2-6+deb12u3 \| \< 1.7.0-5
- ubuntu pam (Ubuntu): All 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
- opensuse pam&distro=openSUSE Tumbleweed (openSUSE): \< 1.7.1-1.1
- redhat pam (Red Hat): \< 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
- redhat pam-debuginfo (Red Hat): \< 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
- redhat pam-debugsource (Red Hat): \< 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
- redhat pam-devel (Red Hat): \< 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
- redhat pam-docs (Red Hat): \< 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
- redhat pam-libs (Red Hat): \< 0:1.6.1-8.el10 \| \< 0:1.6.1-8.el10\_0
- redhat pam-libs-debuginfo (Red Hat): \< 0:1.6.1-8.el10 \| \< 0:1.6.1-8.el10\_0
- suse pam&distro=SUSE Linux Micro 6.0 (SUSE Linux Enterprise): \< 1.6.0-5.1
- suse pam&distro=SUSE Linux Micro 6.1 (SUSE Linux Enterprise): \< 1.6.1-slfo.1.1\_3.1

## References (first 20 of 57)

- <https://access.redhat.com/errata/RHSA-2025:10024>
- <https://access.redhat.com/errata/RHSA-2025:10027>
- <https://access.redhat.com/errata/RHSA-2025:10180>
- <https://access.redhat.com/errata/RHSA-2025:10354>
- <https://access.redhat.com/errata/RHSA-2025:10357>
- <https://access.redhat.com/errata/RHSA-2025:10358>
- <https://access.redhat.com/errata/RHSA-2025:10359>
- <https://access.redhat.com/errata/RHSA-2025:10361>
- <https://access.redhat.com/errata/RHSA-2025:10362>
- <https://access.redhat.com/errata/RHSA-2025:10735>
- <https://access.redhat.com/errata/RHSA-2025:10823>
- <https://access.redhat.com/errata/RHSA-2025:11386>
- <https://access.redhat.com/errata/RHSA-2025:11487>
- <https://access.redhat.com/errata/RHSA-2025:14557>
- <https://access.redhat.com/errata/RHSA-2025:15099>
- <https://access.redhat.com/errata/RHSA-2025:15709>
- <https://access.redhat.com/errata/RHSA-2025:15827>
- <https://access.redhat.com/errata/RHSA-2025:15828>
- <https://access.redhat.com/errata/RHSA-2025:16524>
- <https://access.redhat.com/errata/RHSA-2025:17181>

---

Data as of 2026-12-05T07:09:05.110Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
