CVE-2025-8941: pam Path Traversal
CVSS: 7.8v3.1HighDeferred
AliasesRHSA-2025:15100RHSA-2025:15101RHSA-2025:15102RHSA-2025:15103RHSA-2025:15104RHSA-2025:15105RHSA-2025:15106RHSA-2025:15107UBUNTU-CVE-2025-8941DEBIAN-CVE-2025-8941
Published 13-08-2025Last modified 26-02-2026
Vulnerability summary
CVE-2025-8941 is a high (CVSS 7.8) Path Traversal vulnerability in pam. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 18.9% of scored vulnerabilities.
CVSS score
7.8/10
010
High · v3.1 (CVE.org)EPSS score
0.28%
0%100%
Low · +0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 13-08-2025PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 versionHigh 7.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSourcesAll 5 agree
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
+0.01 pp
From 0.27% on 19-09-2026
19-09-202619-10-2026
EPSS score0.28%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat5 products
- pam< 0:1.5.1-9.el9_0.3 | < 0:1.5.1-15.el9_2.2 | < 0:1.5.1-24.el9_4.1 | < 0:1.3.1-26.el8_8.2 | < 0:1.3.1-14.el8_4.2 | < 0:1.3.1-16.el8_6.3 | < 0:1.1.8-23.el7_9.2 | < 0:1.3.1-8.el8_2.2
- pam-debuginfo< 0:1.5.1-9.el9_0.3 | < 0:1.5.1-15.el9_2.2 | < 0:1.5.1-24.el9_4.1 | < 0:1.3.1-26.el8_8.2 | < 0:1.3.1-14.el8_4.2 | < 0:1.3.1-16.el8_6.3 | < 0:1.1.8-23.el7_9.2 | < 0:1.3.1-8.el8_2.2
- pam-debugsource< 0:1.5.1-9.el9_0.3 | < 0:1.5.1-15.el9_2.2 | < 0:1.5.1-24.el9_4.1 | < 0:1.3.1-26.el8_8.2 | < 0:1.3.1-14.el8_4.2 | < 0:1.3.1-16.el8_6.3 | < 0:1.3.1-8.el8_2.2
- pam-devel< 0:1.5.1-9.el9_0.3 | < 0:1.5.1-15.el9_2.2 | < 0:1.5.1-24.el9_4.1 | < 0:1.3.1-26.el8_8.2 | < 0:1.3.1-14.el8_4.2 | < 0:1.3.1-16.el8_6.3 | < 0:1.1.8-23.el7_9.2 | < 0:1.3.1-8.el8_2.2
- pam-docs< 0:1.5.1-9.el9_0.3 | < 0:1.5.1-15.el9_2.2 | < 0:1.5.1-24.el9_4.1
Debian1 product
- pamAll versions (No fix recorded)
Ubuntu1 product
- pamAll versions (No fix recorded)
3 vendors · 7 products