CVE-2025-6020
Linux-pam: linux-pam directory traversal
A public proof of concept exists; no exploitation attested.
- Published2025-06-17
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-06-1712:44CVE publishedCNA
- 2025-06-1713:15CVE publishedNVD
- 2026-11-1110:16First public proof of conceptPoC-in-GitHub
Versions per branch
Products declared by the CNA59 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- linux-pamother versions: not affected
https://github.com/linux-pam/linux-pam
Affected- < 1.7.1fixed in 1.7.1semver
- Red Hat Enterprise Linux 10other versions: affected
package pamhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:1.6.1-8.el10
- Red Hat Enterprise Linux 10.0 Extended Update Supportother versions: affected
package pamhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:1.6.1-8.el10_0
- Red Hat Enterprise Linux 7 Extended Lifecycle Supportother versions: affected
package pamhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:1.1.8-23.el7_9.1
- Red Hat Enterprise Linux 8other versions: affected
package pamhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:1.3.1-37.el8_10
- Red Hat Enterprise Linux 8other versions: affected
package pamhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:1.3.1-38.el8_10
53 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-06
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libpam0gTuxCare:Ubuntu:18.04all versions · fixed in 1.1.8-3.6ubuntu2.18.04.6+tuxcare.els2and 6 other packages
- libpam0gTuxCare:Ubuntu:18.04all versions · fixed in 1.1.8-3.6ubuntu2.18.04.6+tuxcare.els3and 6 other packages
- libpam0gTuxCare:Ubuntu:16.04all versions · fixed in 1.1.8-3.2ubuntu2.3+tuxcare.els3and 6 other packages
- pamUbuntu:Pro:20.04:LTSall versions · no fixed version listed
- pamUbuntu:Pro:18.04:LTSall versions · no fixed version listed
- pamUbuntu:Pro:16.04:LTSall versions · no fixed version listed
- pamUbuntu:Pro:14.04:LTSall versions · no fixed version listed
- pamUbuntu:25.10all versions · fixed in 1.5.3-7ubuntu6
84 more package ranges on OSV.dev
Vendor advisories
linux-pam: Linux-pam directory Traversal
Siemens Ruggedcom Rox
RUGGEDCOM ROX MX5000 · RUGGEDCOM ROX MX5000RE · RUGGEDCOM ROX RX1400 · +8 more
SSA-577017: Multiple Vulnerabilities in Ruggedcom Rox Before 2.17.1
RUGGEDCOM ROX MX5000 · RUGGEDCOM ROX MX5000RE · RUGGEDCOM ROX RX1400 · +8 more
Red Hat Security Advisory: Release of OpenShift Serverless Logic 1.36.0 security update & enhancements
Red Hat Security Advisory: pam security update
Red Hat Security Advisory: OpenShift Compliance Operator bug fix and enhancement update
23 more advisories
Fix
- Vendor fix CISA ICSA-26-134-16 · 11 productsUpdate to V2.17.1 or later version
- Vendor fix Siemens ProductCERT SSA-577017 · 11 productsUpdate to V2.17.1 or later version
- Vendor fix Red Hat Product Security RHSA-2026:0934 · 30 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:22019 · 37 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:21885 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.openshift.com/container-platform/latest/updating/updating_a_cluster/updating-cluster-cli.html
- Vendor fix Red Hat Product Security RHSA-2025:18219 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. The steps to apply the upgraded images are different depending on the installation plan approval policy you used when installing the cert-manager Operator for Red Hat OpenShift. - If t…
Detection
read 2026-11-11 10:17 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-11knoxoxen/CVE-2025-6020-upstream-fix
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-06
- CISA-ADPSSVC decisionnone2025-06-17
- CNACVSS 3.17.82026-11-06
- CNAweakness (CWE)CWE-222026-11-06
- FIRST EPSSEPSS score0.5 %2026-11-18
- PoC-in-GitHubproof of concept1known since 2026-11-11
- OSVaffected packages—
Identifiers
- AZL-64113same flawAzure Linux · MIT
- AZL-64142same flawAzure Linux · MIT
- EUVD-2025-19056same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- ALSA-2025:10027advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:14557advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:15099advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:20181advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:9526advisory covering several CVEsAlmaLinux · MIT
- DLA-4306-1advisory covering several CVEsDebian · LicenseRef-unstated
- OESA-2025-1743advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1744advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1745advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1746advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1830advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1831advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15256-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2025:10024advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:10027advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:10180advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:10354advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:10357advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:10358advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:10359advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:10361advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:10362advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:14557advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:15099advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:20181advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:22019advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:9526advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2025:10027advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:14557advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:15099advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:20181advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:9526advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2025:02013-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20427-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20441-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7580-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2025-06-17
- Last Modified
- 2026-11-06
- NVD status
- Deferred
Frequently asked questions
What is CVE-2025-6020?
Is CVE-2025-6020 actively exploited?
What is the CVSS score for CVE-2025-6020?
Running linux-pam? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0