medium5.5
CVE-2026-126831
A flaw was found in cpio. A local user can cause a Denial of Service (DoS) by triggering a stack...
Impact
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.
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of outages.
Affected products · Red Hat
| Product | Affected versions |
|---|---|
| Red Hat Enterprise Linux 10 | All versions |
| Red Hat Enterprise Linux 6 | All versions |
| Red Hat Enterprise Linux 7 | All versions |
| Red Hat Enterprise Linux 8 | All versions |
| Red Hat Enterprise Linux 9 | All versions |
| Red Hat Hardened Images | All versions |