CVE-2025-6020
Linux-pam: linux-pam directory traversal
Reported by redhat · Published June 17, 2025
linux-pam is fixed in 1.7.1 (GitHub Packages)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-pam | GitHub Packages | 1.7.1 |
| pam | Amazon Linux | 1.5.1-8.amzn2023.0.6, 1.1.8-23.amzn2.0.4 |
| pam-devel | Amazon Linux | 1.5.1-8.amzn2023.0.6, 1.1.8-23.amzn2.0.4 |
| pam-docs | Amazon Linux | 1.5.1-8.amzn2023.0.6 |
| RUGGEDCOM ROX RX1524 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1500 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1511 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1501 | Siemens | 2.17.1 |
| RUGGEDCOM ROX MX5000RE | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1512 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1510 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1400 | Siemens | 2.17.1 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | 0:1.6.1-8.el10 |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 0:1.6.1-8.el10_0 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:1.1.8-23.el7_9.1 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.3.1-37.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.3.1-38.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:1.3.1-8.el8_2.1 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:1.3.1-14.el8_4.1 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:1.3.1-16.el8_6.2 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 0:1.3.1-16.el8_6.2 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 0:1.3.1-16.el8_6.2 |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 0:1.3.1-26.el8_8.1 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:1.3.1-26.el8_8.1 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.5.1-26.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.5.1-25.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.5.1-26.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.5.1-25.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:1.5.1-9.el9_0.2 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:1.5.1-15.el9_2.1 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:1.5.1-24.el9_4 |
…and 129 more
Timeline
- Jun 17, 2025 CVE Published
- Jun 18, 2025 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- May 13, 2026 Security Advisory (31 in total, the first dated here)
- Oct 21, 2026 Distribution Patch (29 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-6020
vulnetix vdb fixes CVE-2025-6020
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-6020/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:10024 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10027 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10180 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10354 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10357 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10358 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10359 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10361 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10362 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10735 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:10823 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:11386 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:11487 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14557 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:15099 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:15709 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:15827 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:15828 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:16524 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:17181 vendor-advisoryx_refsource_REDHAT
…and 12 more