CVE-2026-126831

MEDIUM CVSS 3.1: 5.5 EPSS 0.15%
Updated Nov 27, 2026
cpio
Parameter Value
CVSS 5.5 (MEDIUM)
Type CWE-121 (Stack-based Buffer Overflow)
Vendor cpio
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1