CVE-2026-126831
published medium CVSS 3.1 · 5.5Cpio: cpio: stack-based buffer overflow in write_out_tar_header() with long usernames/groupnames
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | cpio-mainRed Hat Hardened Images · 2.15-10.4.hum1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7, 8, 9, 10 | cpio | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpioaarch64 | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpioppc64le | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpios390x | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpiox86_64 | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-langaarch64 | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-langppc64le | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-langs390x | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-langx86_64 | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-mtaarch64 | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-mtppc64le | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-mts390x | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-mtx86_64 | Advisory build | 2.15-11.1 | OPENSUSE-SU-2026:12647-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Hardened Images | 2.15-10.4.hum1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
Weaknesses
1- CWE-121 Stack-based Buffer Overflow
References
3- RHSA-2026:103909 https://access.redhat.com/errata/RHSA-2026:103909
- https://access.redhat.com/security/cve/CVE-2026-126831
- RHBZ#2571893 https://bugzilla.redhat.com/show_bug.cgi?id=2571893
Provider assertions
2redhat · cna
Cpio: cpio: stack-based buffer overflow in write_out_tar_header() with long usernames/groupnames
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6c35132ff59820567568e0a8f06e900e5708fc321095fbfc7cc9ac7866eef032
- Ingested
- 27 Nov 2026, 02:44:12 UTC
- Source record
- Official CVE record