# CVE-2025-8941: Linux-pam: incomplete fix for cve-2025-6020

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2025-08-13T14:42:37.570Z
- Modified: 2026-06-17T10:07:59.507Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- linux-pam: no versions given
- pam: no versions given (not affected: from 0:1.1.8-23.el7_9.2 before *; from 0:1.3.1-38.el8_10 before *; from 0:1.3.1-8.el8_2.2 before *; from 0:1.3.1-14.el8_4.2 before *; from 0:1.3.1-16.el8_6.3 before *; from 0:1.3.1-26.el8_8.2 before *; from 0:1.5.1-26.el9_6 before *; from 0:1.5.1-9.el9_0.3 before *; from 0:1.5.1-15.el9_2.2 before *; from 0:1.5.1-24.el9_4.1 before *)
- web-terminal/web-terminal-rhel9-operator: no versions given (not affected: from 1.11-19 before *)
- web-terminal/web-terminal-tooling-rhel9: no versions given (not affected: from 1.11-8 before *; from 1.12-4 before *)
- cert-manager/jetstack-cert-manager-rhel9: no versions given (not affected: from sha256:330e8b5ab4841a21f8f5f23cc7fb192197872f11639b12bf4b1e70831f636323 before *)
- compliance/openshift-compliance-openscap-rhel8: no versions given (not affected: from sha256:c953e9f9abf9cf25bf65bb3ffdc86ccf49b3e69a1cf3fbb47b6972e421fd6628 before *)
- discovery/discovery-server-rhel9: no versions given (not affected: from sha256:c85cfbcaf7888885e57596b7b8bde3894718cfc33326499b24961a66a62cf083 before *)
- insights-proxy/insights-proxy-container-rhel9: no versions given (not affected: from sha256:4ca38b33efec0d2dd17a8fd822a7c18281810676ceabb0c1db90953cb91cd5ea before *)
- openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9: no versions given (not affected: from sha256:24722900db1425bf0c27f6ad6f3fb7d79ff9ebc433bdab58423fa71bab76122b before *)
- openshift-sandboxed-containers/osc-monitor-rhel9: no versions given (not affected: from sha256:f5e1602d72177d77f1b879c76e6f6cfbc2979c136c06ca9f03ea97ffb369b7a6 before *)
- openshift-sandboxed-containers/osc-podvm-builder-rhel9: no versions given (not affected: from sha256:cead623ceda4048cabaa81c371ed2a8143f5c5514276fca1d71685bd9e6d1e65 before *)
- openshift-sandboxed-containers/osc-podvm-payload-rhel9: no versions given (not affected: from sha256:59fb1f7f1653361d94f7d48b42d8fe19ed3263c1c78654837c11f2135544c1ac before *)

## References

- <https://access.redhat.com/errata/RHSA-2025:14557> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15099> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15100> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15101> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15102> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15103> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15104> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15105> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15106> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15107> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15709> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15827> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:15828> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:16524> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:17181> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:18219> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21885> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-8941> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2388220> (issue-tracking)

## Sources

- CVE List: [CVE-2025-8941](https://www.cve.org/CVERecord?id=CVE-2025-8941), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2025-8941](https://nvd.nist.gov/vuln/detail/CVE-2025-8941), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-8941 · Whole record: https://cve.day/CVE-2025-8941.json · Rebuilt by cve.day 2026-11-25T22:59:02.437Z
