{"id":"CVE-2026-56392","title":"GNU coreutils unexpand is vulnerable to a heap-based buffer overflow due to an integer overflow during buffer allocation when processing large tab stop (-t) values","summary":"GNU coreutils unexpand is vulnerable to a heap-based buffer overflow due to an integer overflow during buffer allocation when processing large tab stop (-t) values. The multiplication used to calculate the allocation size can wrap around…","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","cwe":["CWE-122","CWE-787"],"vendor":"gnu","product":"coreutils","affected":["coreutils = 9.11"],"published":"2026-07-24","updated":"2026-10-02","sourceUpdated":"2026-10-02T13:57:53.010","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-56392","references":[{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-56391","label":"cvd@cert.pl"},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git/","label":"cvd@cert.pl"},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d","label":"cvd@cert.pl"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-56392.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-56392"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2506694"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56392"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56392"},{"url":"https://access.redhat.com/errata/RHSA-2026:67886"},{"url":"https://access.redhat.com/errata/RHBA-2026:47115"},{"url":"https://access.redhat.com/errata/RHSA-2026:66403"},{"url":"https://access.redhat.com/errata/RHSA-2026:72475"},{"url":"https://access.redhat.com/errata/RHSA-2026:72395"},{"url":"https://access.redhat.com/errata/RHSA-2026:72399"},{"url":"https://access.redhat.com/errata/RHSA-2026:72476"},{"url":"https://access.redhat.com/errata/RHSA-2026:72470"},{"url":"https://access.redhat.com/errata/RHSA-2026:72394"},{"url":"https://access.redhat.com/errata/RHSA-2026:40724"},{"url":"https://access.redhat.com/errata/RHSA-2026:67956"},{"url":"https://access.redhat.com/errata/RHSA-2026:71603"},{"url":"https://access.redhat.com/errata/RHSA-2026:79357"}],"tags":["nvd","csaf","vex","red-hat"],"epss":0.00186,"epssPercentile":0.08134,"ingestedAt":"2026-10-02T14:20:32.554Z","patched":["enterprise_linux_baseos_v_10","enterprise_linux_baseos_v_8","enterprise_linux_baseos_v_9","cert_manager_support_for_red_hat_openshift_release 1.20","hardened_images","update_infrastructure 5"],"scores":{"nvd":6.1,"vendor":4.4},"slug":"CVE-2026-56392","body":"## Overview\n\nGNU coreutils unexpand is vulnerable to a heap-based buffer overflow due to an integer overflow during buffer allocation when processing large tab stop (-t) values. The multiplication used to calculate the allocation size can wrap around, resulting in an undersized buffer.\nWhen processing crafted input, subsequent writes exceed the allocated memory, leading to an out‑of‑bounds heap write.\n\nWhen running GNU coreutils unexpand with attacker-provided large tab stop (-t) arguments, this behavior leads to a crash and potentially achieve a heap write primitive depending on memory layout.\n\n\n\n\n\n\n\n\n\n\nThis issue has been fixed in the commit b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d\n\n## Affected\n\n- `coreutils = 9.11`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **RHSA-2026:67886** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 10) · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:67886)\n- **RHBA-2026:47115** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 8) · released 2026-07-29 · [advisory](https://access.redhat.com/errata/RHBA-2026:47115)\n- **RHSA-2026:66403** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 9) · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66403)\n- **RHSA-2026:72475** · Red Hat · fixed in: Cert Manager support for Red Hat OpenShift release 1.20 · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72475)\n- **RHSA-2026:72395** · Red Hat · fixed in: Cert Manager support for Red Hat OpenShift release 1.20 · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72395)\n- **RHSA-2026:72399** · Red Hat · fixed in: Cert Manager support for Red Hat OpenShift release 1.20 · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72399)\n- **RHSA-2026:72476** · Red Hat · fixed in: Cert Manager support for Red Hat OpenShift release 1.20 · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72476)\n- **RHSA-2026:72470** · Red Hat · fixed in: Cert Manager support for Red Hat OpenShift release 1.20 · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72470)\n- **RHSA-2026:72394** · Red Hat · fixed in: Cert Manager support for Red Hat OpenShift release 1.20 · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72394)\n- **RHSA-2026:40724** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-07-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:40724)\n- **RHSA-2026:67956** · Red Hat · fixed in: Red Hat Update Infrastructure 5 · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:67956)\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat OpenShift Container Platform 4 · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-56392.json)\n- **RHSA-2026:79357** · Red Hat · fixed in: Red Hat Cost Management On-Premise 1 · released 2026-10-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:79357)","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}