# CVE-2026-126831: Cpio: cpio: stack-based buffer overflow in write\_out\_tar\_header() with long usernames/groupnames

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-12 · Modified: 2026-11-27
- Aliases: UBUNTU-CVE-2026-126831, DEBIAN-CVE-2026-126831, RHSA-2026:103909
- Record: https://cvemate.com/vulnerability/CVE-2026-126831 · JSON: https://cvemate.com/vulnerability/CVE-2026-126831/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.157%, percentile 5.057%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian cpio (Debian): All versions (No fix recorded)
- ubuntu cpio (Ubuntu): All versions (No fix recorded)
- redhat cpio (Red Hat): \< 0:2.15-10.4.hum1

## References

- <https://access.redhat.com/security/cve/CVE-2026-126831>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2571893>
- <https://ubuntu.com/security/CVE-2026-126831>
- <https://www.cve.org/CVERecord?id=CVE-2026-126831>
- <https://security-tracker.debian.org/tracker/CVE-2026-126831>
- <https://access.redhat.com/errata/RHSA-2026:103909>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_103909.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126831>

---

Data as of 2026-12-05T03:38:13.015Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
