# CVE-2026-56392: Heap-based Buffer Overflow in GNU coreutils

- Priority: **Routine**
- Reason: Not severe (CVSS 1.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-24 · Modified: 2026-07-24
- Aliases: RHBA-2026:47115, RHSA-2026:40724, RHSA-2026:66403, UBUNTU-CVE-2026-56392, DEBIAN-CVE-2026-56392
- Record: https://cvemate.com/vulnerability/CVE-2026-56392 · JSON: https://cvemate.com/vulnerability/CVE-2026-56392/json

## Description

```text
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, resulting in an undersized buffer.
When processing crafted input, subsequent writes exceed the allocated memory, leading to an out‑of‑bounds heap write.

When 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.










This issue has been fixed in the commit b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- EPSS: 0.146%, percentile 4%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian coreutils (Debian): All versions (No fix recorded)
- ubuntu coreutils (Ubuntu): All versions (No fix recorded)
- gnu coreutils: ≤ 9.11 \| 9.11
- redhat coreutils (Red Hat): \< 0:8.30-20.el8\_10 \| \< 0:9.11-5.hum1 \| \< 0:8.32-41.el9\_8.1
- redhat coreutils-common (Red Hat): \< 0:8.30-20.el8\_10 \| \< 0:9.11-5.hum1
- redhat coreutils-debuginfo (Red Hat): \< 0:8.30-20.el8\_10 \| \< 0:8.32-41.el9\_8.1
- redhat coreutils-debugsource (Red Hat): \< 0:8.30-20.el8\_10 \| \< 0:8.32-41.el9\_8.1
- redhat coreutils-single (Red Hat): \< 0:8.30-20.el8\_10 \| \< 0:9.11-5.hum1 \| \< 0:8.32-41.el9\_8.1
- redhat coreutils-single-debuginfo (Red Hat): \< 0:8.30-20.el8\_10 \| \< 0:8.32-41.el9\_8.1

## References

- <https://cert.pl/en/posts/2026/07/CVE-2026-56391>
- <https://git.savannah.gnu.org/cgit/coreutils.git/>
- <https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d>
- <https://access.redhat.com/errata/RHBA-2026:47115>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhba-2026_47115.json>
- <https://access.redhat.com/security/cve/CVE-2026-56392>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2506694>
- <https://www.cve.org/CVERecord?id=CVE-2026-56392>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56392>
- <https://access.redhat.com/errata/RHSA-2026:40724>
- <https://images.redhat.com/>
- <https://access.redhat.com/security/updates/classification/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_40724.json>
- <https://access.redhat.com/errata/RHSA-2026:66403>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_66403.json>
- <https://ubuntu.com/security/CVE-2026-56392>
- <https://www.openwall.com/lists/oss-security/2026/07/25/2>
- <https://security-tracker.debian.org/tracker/CVE-2026-56392>

---

Data as of 2026-12-05T06:51:56.329Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
