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

# CVE-2026-126831

A flaw was found in cpio. A local user can cause a Denial of Service (DoS) by triggering a stack-based buffer overflow when creating archives in tar or ustar formats. When archiving files owned by users or groups with names exceeding 32 characters, cpio copies these names into fixed-size memory without verifying their length. This unbounded copy corrupts stack memory and causes the application to crash.

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

- **级别 / 评分**: MEDIUM (5.5)
- **受影响构建数**: 3
- **涉及发行版**: 2
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | cpio | 2.15+dfsg-2 | — |
| Ubuntu | jammy | cpio | 2.13+dfsg-7 | — |
| Ubuntu | noble | cpio | 2.15+dfsg-1ubuntu2 | — |
