---
title: "CVE-2026-135901"
canonical_url: "https://pkgseek.com/security/CVE-2026-135901"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-135901

A flaw was found in shadow-utils. The newgidmap and newuidmap utilities validate that a caller-supplied file descriptor refers to a directory on the /proc filesystem by comparing device numbers, then open a file by name relative to that directory to write privileged group/user ID mapping data. A local, unprivileged user can use Linux user and mount namespaces to bind-mount an attacker-chosen file over the expected path, defeating the device-number check and causing the helper to overwrite the first five bytes of the attacker-chosen file with fixed content.

CVE-2026-135901 严重级别为 MEDIUM (4.4)，共索引 9 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: MEDIUM (4.4)
- **受影响构建数**: 9
- **涉及发行版**: 2
- **已标明修复版本发行版**: Debian

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libsubid5 | 1:4.17.4-2 | 1:4.17.4-2+deb13u1 |
| Debian | trixie | libsubid-dev | 1:4.17.4-2 | 1:4.17.4-2+deb13u1 |
| Debian | trixie | login.defs | 1:4.17.4-2 | 1:4.17.4-2+deb13u1 |
| Debian | trixie | passwd | 1:4.17.4-2 | 1:4.17.4-2+deb13u1 |
| Debian | trixie | uidmap | 1:4.17.4-2 | 1:4.17.4-2+deb13u1 |
| Ubuntu | focal | login | 1:4.8.1-1ubuntu5 | — |
| Ubuntu | focal | passwd | 1:4.8.1-1ubuntu5 | — |
| Ubuntu | jammy | login | 1:4.8.1-2ubuntu2 | — |
| Ubuntu | jammy | passwd | 1:4.8.1-2ubuntu2 | — |
