{"id":"CVE-2026-126831","aliases":["CVE-2026-126831"],"related":[],"kind":"vulnerability","state":"published","title":"Cpio: cpio: stack-based buffer overflow in write_out_tar_header() with long usernames/groupnames","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-12T17:27:16.588Z","modified":"2026-11-27T03:17:01.967Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-121"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"cpio","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"cpio","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"cpio","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"cpio","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"cpio","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"cpio","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-126831","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2571893","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:103909","tags":[],"sources":["nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-13T15:40:33.975Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126831","url":"https://www.cve.org/CVERecord?id=CVE-2026-126831","licence":"CVE Terms of Use","modified":"2026-11-24T11:35:06.587Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126831","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126831","licence":"Public domain","modified":"2026-11-27T03:17:01.967Z"}],"updatedAt":"2026-11-27T03:17:33.001Z","epss":{"score":0.00157,"percentile":0.05103,"date":"2026-12-01T12:00:22.000Z"}}