CVE-2026-56392Heap-based Buffer Overflow in GNU coreutils
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
What to do
Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | coreutils | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | coreutils | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | coreutils | Not affected vulnerable_code_not_present | ||
| Debian 14 | coreutils | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-56392 | |
| Debian 13 | coreutils | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-56392 | |
| Debian 12 | coreutils | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-56392 | |
| Red Hat Enterprise Linux 10 | coreutils | Fixed | 0:9.5-8.el10_2.1 | RHSA-2026:67886 |
| Red Hat Enterprise Linux 10 | coreutils-single | Fixed | 0:9.5-8.el10_2.1 | RHSA-2026:67886 |
| Red Hat Enterprise Linux 9 | coreutils | Fixed | 0:8.32-41.el9_8.1 | RHSA-2026:66403 |
| Red Hat Enterprise Linux 9 | coreutils-single | Fixed | 0:8.32-41.el9_8.1 | RHSA-2026:66403 |
| Red Hat Enterprise Linux 8 | coreutils | Fixed | 0:8.30-20.el8_10 | RHBA-2026:47115 |
| Red Hat Enterprise Linux 8 | coreutils-common | Fixed | 0:8.30-20.el8_10 | RHBA-2026:47115 |
| Red Hat Enterprise Linux 8 | coreutils-single | Fixed | 0:8.30-20.el8_10 | RHBA-2026:47115 |
| Red Hat Enterprise Linux 7 | coreutils | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | coreutils | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | coreutils-libs | Will not fix Out of support scope | ||
| AlmaLinux 10 | coreutils | Fixed | 9.5-8.el10_2.1 | ALSA-2026:67886 |
| AlmaLinux 10 | coreutils-common | Fixed | 9.5-8.el10_2.1 | ALSA-2026:67886 |
| AlmaLinux 10 | coreutils-single | Fixed | 9.5-8.el10_2.1 | ALSA-2026:67886 |
| AlmaLinux 9 | coreutils | Fixed | 8.32-41.el9_8.1 | ALSA-2026:66403 |
| AlmaLinux 9 | coreutils-common | Fixed | 8.32-41.el9_8.1 | ALSA-2026:66403 |
| AlmaLinux 9 | coreutils-single | Fixed | 8.32-41.el9_8.1 | ALSA-2026:66403 |
| Rocky Linux 10 | coreutils | Fixed | 0:9.5-8.el10_2.1 | RLSA-2026:67886 |
| Rocky Linux 9 | coreutils | Fixed | 0:8.32-41.el9_8.1 | RLSA-2026:66403 |
What the vendor says
As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GNU coreutils: affected: up to 9.11
Vendor advisories:
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.