---
title: "CVE-2025-8941"
canonical_url: "https://pkgseek.com/security/CVE-2025-8941"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2025-8941

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.

CVE-2025-8941 严重级别为 HIGH (7.8)，共索引 16 条受影响软件包构建记录，涉及 5 个发行版。

- **级别 / 评分**: HIGH (7.8)
- **受影响构建数**: 16
- **涉及发行版**: 5
- **已标明修复版本发行版**: Alibaba Cloud Linux, OpenAnolis, Oracle Linux, Red Hat Enterprise Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | pam | 1.3.1-37.al8 | 1.3.1-38.al8 |
| Alibaba Cloud Linux | 3 | pam-devel | 1.3.1-37.al8 | 1.3.1-38.al8 |
| Debian | trixie | libpam0g | 1.7.0-5 | — |
| Debian | trixie | libpam0g-dev | 1.7.0-5 | — |
| Debian | trixie | libpam-doc | 1.7.0-5 | — |
| Debian | trixie | libpam-modules | 1.7.0-5 | — |
| Debian | trixie | libpam-modules-bin | 1.7.0-5 | — |
| Debian | trixie | libpam-runtime | 1.7.0-5 | — |
| OpenAnolis | 8.10 | pam | 1.3.1-37.an8 | 1.3.1-38.an8 |
| OpenAnolis | 8.10 | pam-devel | 1.3.1-37.an8 | 1.3.1-38.an8 |
| Oracle Linux | 9 | pam | 1.5.1-26.0.1.el9 | 1.5.1-26.0.1.el9_6 |
| Oracle Linux | 9 | pam-devel | 1.5.1-26.0.1.el9 | 1.5.1-26.0.1.el9_6 |
| Oracle Linux | 9 | pam-docs | 1.5.1-26.0.1.el9 | 1.5.1-26.0.1.el9_6 |
| Red Hat Enterprise Linux | 9.8 | pam | 1.5.1-26.el9 | 1.5.1-26.el9_6 |
| Red Hat Enterprise Linux | 9.8 | pam-devel | 1.5.1-26.el9 | 1.5.1-26.el9_6 |
| Red Hat Enterprise Linux | 9.8 | pam-docs | 1.5.1-26.el9 | 1.5.1-26.el9_6 |
