CVEfocus › CVE database › CVE-2026-56392

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

CVSS 1.8 LowEPSS 0.1% (higher than 2% of CVEs)Published 2026-07-24Updated 2026-07-24Assigner: CERT-PL

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

CWE-122

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

15Fixed
6Will not fix
3Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04coreutilsNot affected
vulnerable_code_not_present
Ubuntu 24.04coreutilsNot affected
vulnerable_code_not_present
Ubuntu 22.04coreutilsNot affected
vulnerable_code_not_present
Debian 14coreutilsWill 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 13coreutilsWill 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 12coreutilsWill 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 10coreutilsFixed0:9.5-8.el10_2.1RHSA-2026:67886
Red Hat Enterprise Linux 10coreutils-singleFixed0:9.5-8.el10_2.1RHSA-2026:67886
Red Hat Enterprise Linux 9coreutilsFixed0:8.32-41.el9_8.1RHSA-2026:66403
Red Hat Enterprise Linux 9coreutils-singleFixed0:8.32-41.el9_8.1RHSA-2026:66403
Red Hat Enterprise Linux 8coreutilsFixed0:8.30-20.el8_10RHBA-2026:47115
Red Hat Enterprise Linux 8coreutils-commonFixed0:8.30-20.el8_10RHBA-2026:47115
Red Hat Enterprise Linux 8coreutils-singleFixed0:8.30-20.el8_10RHBA-2026:47115
Red Hat Enterprise Linux 7coreutilsWill not fix
Out of support scope
Red Hat Enterprise Linux 6coreutilsWill not fix
Out of support scope
Red Hat Enterprise Linux 6coreutils-libsWill not fix
Out of support scope
AlmaLinux 10coreutilsFixed9.5-8.el10_2.1ALSA-2026:67886
AlmaLinux 10coreutils-commonFixed9.5-8.el10_2.1ALSA-2026:67886
AlmaLinux 10coreutils-singleFixed9.5-8.el10_2.1ALSA-2026:67886
AlmaLinux 9coreutilsFixed8.32-41.el9_8.1ALSA-2026:66403
AlmaLinux 9coreutils-commonFixed8.32-41.el9_8.1ALSA-2026:66403
AlmaLinux 9coreutils-singleFixed8.32-41.el9_8.1ALSA-2026:66403
Rocky Linux 10coreutilsFixed0:9.5-8.el10_2.1RLSA-2026:67886
Rocky Linux 9coreutilsFixed0:8.32-41.el9_8.1RLSA-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.

Vendor advisories:

References

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.