Vulnerability · Published Aug 13, 2025 · Assigned by redhat

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

High 7.8

In plain English

A high-severity path traversal in linux-pam. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 79.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8pam1.3.1-38.el8_10ALSA-2025:14557
AlmaLinux:9pam1.5.1-26.el9_6ALSA-2025:15099
AlmaLinux:8pam-devel1.3.1-38.el8_10ALSA-2025:14557
AlmaLinux:9pam-devel1.5.1-26.el9_6ALSA-2025:15099
AlmaLinux:9pam-docs1.5.1-26.el9_6ALSA-2025:15099
Debian:12pamno fix listedDEBIAN-CVE-2025-8941
Debian:13pamno fix listedDEBIAN-CVE-2025-8941
Debian:14pamno fix listedDEBIAN-CVE-2025-8941
Rocky Linux:8pam0:1.3.1-38.el8_10RLSA-2025:14557
Rocky Linux:9pam0:1.5.1-26.el9_6RLSA-2025:15099
Ubuntu:22.04:LTSpamno fix listedUBUNTU-CVE-2025-8941
Ubuntu:24.04:LTSpamno fix listedUBUNTU-CVE-2025-8941
Ubuntu:25.10pamno fix listedUBUNTU-CVE-2025-8941

Affected products (as reported)

VendorProductVersions
linux-pam see references
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support see references
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On see references
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support see references
Red Hat Red Hat Web Terminal 1.11 on RHEL 9 see references
Red Hat Red Hat Web Terminal 1.11 on RHEL 9 see references
Red Hat Red Hat Web Terminal 1.12 on RHEL 9 see references
Red Hat cert-manager operator for Red Hat OpenShift 1.16 see references
Red Hat Compliance Operator 1 see references
Red Hat Red Hat Discovery 2 see references
Red Hat Red Hat Insights proxy 1.5 see references
Red Hat Red Hat OpenShift sandboxed containers 1.1 see references
Red Hat Red Hat OpenShift sandboxed containers 1.1 see references
Red Hat Red Hat OpenShift sandboxed containers 1.1 see references
Red Hat Red Hat OpenShift sandboxed containers 1.1 see references

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References