Stack-Based Buffer Overflow in Cpio Affects Red Hat Products
CVE-2026-126831

5.5MEDIUM

What is CVE-2026-126831?

A vulnerability exists in Cpio that enables a local user to induce a Denial of Service by exploiting a stack-based buffer overflow during the creation of archives in tar or ustar formats. This flaw arises when file names associated with users or groups exceed 32 characters. Cpio fails to validate the length of these names, resulting in an unbounded memory copy that corrupts stack memory, ultimately leading to application crashes.

References

CVSS V3.1

Score:
5.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.