CVE-2026-126831

published 12 Nov 2026 · updated 17 Nov 2026

Cpio: cpio: stack-based buffer overflow in write_out_tar_header() with long usernames/groupnames

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatHardened Images

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126831 severity on Zeptric[![CVE-2026-126831](https://zeptric.io/badge/cve/CVE-2026-126831.svg)](https://zeptric.io/cve/CVE-2026-126831)