Security mailing lists by PureSourceCode

CVE-2026-126831

MEDIUM 5.5CVSS 3.1

Cpio: cpio: stack-based buffer overflow in write_out_tar_header() with long usernames/groupnames

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.

Published
12 Nov 2026
Last modified
27 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Awaiting Analysis
Weakness
CWE-121
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVE List redhat CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://catalog.redhat.com/software/containers/ cpio-main
cpe:/a:redhat:hummingbird:1
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cpio
cpe:/o:redhat:enterprise_linux:10
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cpio
cpe:/o:redhat:rhel_els:6
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cpio
cpe:/o:redhat:rhel_els:7
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cpio
cpe:/o:redhat:enterprise_linux:8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cpio
cpe:/o:redhat:enterprise_linux:9
all versions

References

History

  • 27 Nov 2026 04:51 UTC · NVD: 1 reference added
  • 27 Nov 2026 02:49 UTC · CVE List: affected list changed (6 entries); 1 reference added
  • 25 Nov 2026 20:36 UTC · CVE List: first stored (published 12 Nov 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 12 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.