CVE-2025-6020
Linux-pam: linux-pam directory traversal
02 Description
Linux-pam: linux-pam directory traversal
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.47% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 40.5% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Deferred. NVD last modified this record on 2026-10-12.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-06-17 12:44Z1 YR AGO
- Last updated
- 2026-10-12 19:52Z16 DAYS AGO
- Reserved
- 2025-06-11
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.8)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
- Data version
- 5.2
- Document digest
- c73993b0723624ab76dbeba47695f7c4bd471b7e2b7e9d706d2fe8ed1d13b7c7
05 Affected products
06 References
- access.redhat.comRHSA-2025:10024https://access.redhat.com/errata/RHSA-2025:10024
- access.redhat.comRHSA-2025:10027https://access.redhat.com/errata/RHSA-2025:10027
- access.redhat.comRHSA-2025:10180https://access.redhat.com/errata/RHSA-2025:10180
- access.redhat.comRHSA-2025:10354https://access.redhat.com/errata/RHSA-2025:10354
- access.redhat.comRHSA-2025:10357https://access.redhat.com/errata/RHSA-2025:10357
- access.redhat.comRHSA-2025:10358https://access.redhat.com/errata/RHSA-2025:10358
- access.redhat.comRHSA-2025:10359https://access.redhat.com/errata/RHSA-2025:10359
- access.redhat.comRHSA-2025:10361https://access.redhat.com/errata/RHSA-2025:10361
- access.redhat.comRHSA-2025:10362https://access.redhat.com/errata/RHSA-2025:10362
- access.redhat.comRHSA-2025:10735https://access.redhat.com/errata/RHSA-2025:10735
- access.redhat.comRHSA-2025:10823https://access.redhat.com/errata/RHSA-2025:10823
- access.redhat.comRHSA-2025:11386https://access.redhat.com/errata/RHSA-2025:11386
- access.redhat.comRHSA-2025:11487https://access.redhat.com/errata/RHSA-2025:11487
- access.redhat.comRHSA-2025:14557https://access.redhat.com/errata/RHSA-2025:14557
- access.redhat.comRHSA-2025:15099https://access.redhat.com/errata/RHSA-2025:15099
- access.redhat.comRHSA-2025:15709https://access.redhat.com/errata/RHSA-2025:15709
- access.redhat.comRHSA-2025:15827https://access.redhat.com/errata/RHSA-2025:15827
- access.redhat.comRHSA-2025:15828https://access.redhat.com/errata/RHSA-2025:15828
- access.redhat.comRHSA-2025:16524https://access.redhat.com/errata/RHSA-2025:16524
- access.redhat.comRHSA-2025:17181https://access.redhat.com/errata/RHSA-2025:17181
- access.redhat.comRHSA-2025:18219https://access.redhat.com/errata/RHSA-2025:18219
- access.redhat.comRHSA-2025:20181https://access.redhat.com/errata/RHSA-2025:20181
- access.redhat.comRHSA-2025:21885https://access.redhat.com/errata/RHSA-2025:21885
- access.redhat.comRHSA-2025:22019https://access.redhat.com/errata/RHSA-2025:22019
- access.redhat.comRHSA-2025:9526https://access.redhat.com/errata/RHSA-2025:9526
- access.redhat.comRHSA-2026:0934https://access.redhat.com/errata/RHSA-2026:0934
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2025-6020
- bugzilla.redhat.comRHBZ#2372512https://bugzilla.redhat.com/show_bug.cgi?id=2372512
- github.comhttps://github.com/linux-pam/linux-pam/security/advisories/GHSA-f9p8-gjr4-j9gx
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2025/06/17/1
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2025/09/msg00021.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-577017.html
07 Fixed in
AlmaLinux 8
- pam Fixed
A version is affected if any line below covers it.
- Affected before 1.3.1-37.el8_10
- Affected before 1.3.1-38.el8_10
- pam-devel Fixed
A version is affected if any line below covers it.
- Affected before 1.3.1-37.el8_10
- Affected before 1.3.1-38.el8_10
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- pam Fixed
A version is affected if any line below covers it.
- Affected before 1.5.1-25.el9_6
- Affected before 1.5.1-26.el9_6
- pam-devel Fixed
A version is affected if any line below covers it.
- Affected before 1.5.1-25.el9_6
- Affected before 1.5.1-26.el9_6
- pam-docs Fixed
A version is affected if any line below covers it.
- Affected before 1.5.1-25.el9_6
- Affected before 1.5.1-26.el9_6
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 10
- pam Fixed in 1.6.1-8.el10
- pam-devel Fixed in 1.6.1-8.el10
- pam-libs Fixed in 1.6.1-8.el10
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- pam No fix yet
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- pam Fixed
A version is affected if any line below covers it.
- Affected before 1.3.1-37.el8_10
- Affected before 1.3.1-38.el8_10
- pam-devel Fixed
A version is affected if any line below covers it.
- Affected before 1.3.1-37.el8_10
- Affected before 1.3.1-38.el8_10
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- pam Fixed
A version is affected if any line below covers it.
- Affected before 1.5.1-25.el9_6
- Affected before 1.5.1-26.el9_6
- pam-devel Fixed
A version is affected if any line below covers it.
- Affected before 1.5.1-25.el9_6
- Affected before 1.5.1-26.el9_6
- pam-docs Fixed
A version is affected if any line below covers it.
- Affected before 1.5.1-25.el9_6
- Affected before 1.5.1-26.el9_6
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 10
- pam Fixed in 1.6.1-8.el10
- pam-devel Fixed in 1.6.1-8.el10
- pam-libs Fixed in 1.6.1-8.el10
Derived from AlmaLinux 10. Partial coverage: only packages taken from AlmaLinux 10 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- pam Fixed in 1.5.2-6+deb12u2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- pam Fixed in 1.7.0-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- pam Fixed in 1.7.0-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- pam Fixed in 1.4.0-11ubuntu2.6
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- pam Fixed in 1.5.3-5ubuntu5.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- pam Fixed in 1.5.3-7ubuntu6
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- pam No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- pam No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- pam No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- pam No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.