CVE-2025-8941 json
Linux-pam: incomplete fix for cve-2025-6020
published last yr. modified 4mo ago also EUVD-2025-24657
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
A flaw was found in linux-pam. The pam_namespace module may improperly handle user-controlled paths, allowing local users to exploit symlink attacks and race conditions to elevate their privileges to root. This CVE provides a "complete" fix for CVE-2025-6020.
Patch / fix
- Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:1.1.8-23.el7_9.2
- 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.2
- Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:1.3.1-14.el8_4.2
- Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:1.3.1-14.el8_4.2
- Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:1.3.1-16.el8_6.3
- Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service 0:1.3.1-16.el8_6.3
- Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:1.3.1-16.el8_6.3
- Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 0:1.3.1-26.el8_8.2
- Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:1.3.1-26.el8_8.2
- Red Hat Red Hat Enterprise Linux 9 0:1.5.1-26.el9_6
- Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 0:1.5.1-9.el9_0.3
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:1.5.1-15.el9_2.2
- Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 0:1.5.1-24.el9_4.1
- Red Hat Red Hat Web Terminal 1.11 on RHEL 9 1.11-8, 1.11-19
- Red Hat Red Hat Web Terminal 1.12 on RHEL 9 1.12-4
- Red Hat cert-manager operator for Red Hat OpenShift 1.16 sha256:330e8b5ab4841a21f8f5f23cc7fb192197872f11639b12bf4b1e70831f636323
- Red Hat Compliance Operator 1 sha256:c953e9f9abf9cf25bf65bb3ffdc86ccf49b3e69a1cf3fbb47b6972e421fd6628
- Red Hat Red Hat Discovery 2 sha256:c85cfbcaf7888885e57596b7b8bde3894718cfc33326499b24961a66a62cf083
- Red Hat Red Hat Insights proxy 1.5 sha256:4ca38b33efec0d2dd17a8fd822a7c18281810676ceabb0c1db90953cb91cd5ea
- Red Hat Red Hat OpenShift sandboxed containers 1.1 sha256:59fb1f7f1653361d94f7d48b42d8fe19ed3263c1c78654837c11f2135544c1ac, sha256:24722900db1425bf0c27f6ad6f3fb7d79ff9ebc433bdab58423fa71bab76122b, sha256:cead623ceda4048cabaa81c371ed2a8143f5c5514276fca1d71685bd9e6d1e65, sha256:f5e1602d72177d77f1b879c76e6f6cfbc2979c136c06ca9f03ea97ffb369b7a6
- pam RHEL 9 1.5.1-26.el9_6
- pam RHEL 8 1.3.1-38.el8_10
- pam RHEL 7 ELS 1.1.8-23.el7_9.2
- pam RHEL 8.2 AUS 1.3.1-8.el8_2.2
- pam RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 1.3.1-16.el8_6.3
- pam RHEL 8.8 TUS, RHEL 8.8 E4S 1.3.1-26.el8_8.2
- pam RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 1.3.1-14.el8_4.2
- pam RHEL 9.4 EUS 1.5.1-24.el9_4.1
red hat advisories RHSA-2025:15106RHSA-2025:15107RHSA-2025:15105RHSA-2025:15103RHSA-2025:15104RHSA-2025:15102
- pam AlmaLinux 9 1.5.1-26.el9_6
- pam AlmaLinux 8 1.3.1-38.el8_10
almalinux advisories ALSA-2025:15099ALSA-2025:14557
- pam Rocky Linux 9 1.5.1-26.el9_6
- pam Rocky Linux 8 1.3.1-38.el8_10
rocky linux advisories RLSA-2025:15099RLSA-2025:14557
Is CVE-2025-8941 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-8941 updated cvss 7.8
linux-pam: Incomplete fix for CVE-2025-6020
-
Red Hat cert-manager operator for Red Hat OpenShift 1.16 cert-manager v1.16.5-1760515757fixed: vendor fix RHSA-2025:18219
-
Red Hat Compliance Operator 1 compliancefixed: vendor fix RHSA-2025:21885
-
Red Hat Discovery 2 discovery 2.2.1-1758555934fixed: vendor fix RHSA-2025:16524
-
Red Hat Enterprise Linux AppStream (v. 9) pam-docs 1.5.1-26.el9_6, pam-devel 1.5.1-26.el9_6, pam-debuginfo 1.5.1-26.el9_6, pam-debugsource 1.5.1-26.el9_6fixed: vendor fix RHSA-2025:15099
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) pam-docs 1.5.1-9.el9_0.3, pam-devel 1.5.1-9.el9_0.3, pam-debuginfo 1.5.1-9.el9_0.3, pam-debugsource 1.5.1-9.el9_0.3fixed: vendor fix RHSA-2025:15100
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) pam-docs 1.5.1-15.el9_2.2, pam-devel 1.5.1-15.el9_2.2, pam-debuginfo 1.5.1-15.el9_2.2, pam-debugsource 1.5.1-15.el9_2.2fixed: vendor fix RHSA-2025:15101
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) pam-docs 1.5.1-24.el9_4.1, pam-devel 1.5.1-24.el9_4.1, pam-debuginfo 1.5.1-24.el9_4.1, pam-debugsource 1.5.1-24.el9_4.1fixed: vendor fix RHSA-2025:15102
-
Red Hat Enterprise Linux BaseOS (v. 8) pam 1.3.1-38.el8_10fixed: vendor fix RHSA-2025:14557
show 18 moreshow fewer
-
Red Hat Enterprise Linux BaseOS (v. 9) pam 1.5.1-26.el9_6fixed: vendor fix RHSA-2025:15099
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) pam 1.3.1-8.el8_2.2fixed: vendor fix RHSA-2025:15107
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) pam 1.3.1-14.el8_4.2fixed: vendor fix RHSA-2025:15104
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) pam 1.3.1-16.el8_6.3 Red Hat Enterprise Linux BaseOS E4S (v.8.6) pam 1.3.1-16.el8_6.3fixed: vendor fix RHSA-2025:15105
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) pam 1.3.1-26.el8_8.2fixed: vendor fix RHSA-2025:15103
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) pam 1.5.1-9.el9_0.3fixed: vendor fix RHSA-2025:15100
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) pam 1.5.1-15.el9_2.2fixed: vendor fix RHSA-2025:15101
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) pam 1.5.1-24.el9_4.1fixed: vendor fix RHSA-2025:15102
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) pam 1.3.1-14.el8_4.2fixed: vendor fix RHSA-2025:15104
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) pam 1.3.1-16.el8_6.3fixed: vendor fix RHSA-2025:15105
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) pam 1.3.1-26.el8_8.2fixed: vendor fix RHSA-2025:15103
-
Red Hat Enterprise Linux Server (v. 7 ELS) pam 1.1.8-23.el7_9.2fixed: vendor fix RHSA-2025:15106
-
Red Hat Insights proxy 1.5 insights-proxy 1.5.7-1759331989fixed: vendor fix RHSA-2025:17181
-
Red Hat OpenShift sandboxed containers 1.10 openshift-sandboxed-containers 1.10.2-1757421804, openshift-sandboxed-containers 1.10.2-1757421879, openshift-sandboxed-containers 1.10.2-1757422110, openshift-sandboxed-containers 1.10.2-1757422401fixed: vendor fix RHSA-2025:15709
-
Red Hat OpenShift Serverless 1.36 openshift-serverless-1/logic-rhel8-operator 1.36.0-18, openshift-serverless-1/logic-operator-bundle 1.36.0-12, openshift-serverless-1/logic-swf-devmode-rhel8 1.36.0-7, openshift-serverless-1/logic-swf-builder-rhel8 1.36.0-11, openshift-serverless-1/logic-db-migrator-tool-rhel8 1.36.0-11, openshift-serverless-1/logic-management-console-rhel8 1.36.0-9, +5 morefixed: vendor fix RHSA-2026:0934
-
Red Hat Web Terminal 1.11 on RHEL 9 web-terminal/web-terminal-tooling-rhel9 1.11-8, web-terminal/web-terminal-rhel9-operator 1.11-19fixed: vendor fix RHSA-2025:15828
-
Red Hat Web Terminal 1.12 on RHEL 9 web-terminal/web-terminal-tooling-rhel9 1.12-4fixed: vendor fix RHSA-2025:15827
-
Red Hat cert-manager operator for Red Hat OpenShift 1.16 cert-manager v1.16.5-1760509690 Red Hat Compliance Operator 1 compliance Red Hat Discovery 2 discovery 2.2.0-1758132611 Red Hat OpenShift sandboxed containers 1.10 openshift-sandboxed-containers 1.10.2-1757421846, openshift-sandboxed-containers 1.10.2-1757421890, openshift-sandboxed-containers 1.10.2-1757422070, openshift-sandboxed-containers 1.10.2-1757428967, openshift-sandboxed-containers 1.10.2-1757430223not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support
- Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
- Red Hat Red Hat Web Terminal 1.11 on RHEL 9
- Red Hat Red Hat Web Terminal 1.12 on RHEL 9
- Red Hat cert-manager operator for Red Hat OpenShift 1.16
- Red Hat Compliance Operator 1
- Red Hat Red Hat Discovery 2
- Red Hat Red Hat Insights proxy 1.5
- Red Hat Red Hat OpenShift sandboxed containers 1.1
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
access.redhat.com
/errata/RHSA-2025:14557
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15099
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15100
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15101
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15102
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15103
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15104
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15105
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15106
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15107
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15709
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15827
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:15828
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:16524
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:17181
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:18219
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:21885
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2025-8941
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2388220
issue-tracking
Sources
- CVE List CVE-2025-8941
- NVD CVE-2025-8941
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.