Stack-based Buffer Overflow Affecting cpio package, versions <0:2.15-10.4.hum1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-CPIO-22515809
  • published13 Nov 2026
  • disclosed7 Nov 2026

Introduced: 7 Nov 2026

NewCVE-2026-126831  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:10 cpio to version 0:2.15-10.4.hum1 or higher.
This issue was patched in RHSA-2026:103909.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cpio package and not the cpio package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1