CVE catalog

CVE-2026-56392

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 calculat

[CVE catalog]

Severity
Medium · CVSS 4.4CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.19% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancoreutilssid9.10-1vulnerable
Debiancoreutilsforky9.10-1vulnerable
Debiancoreutilstrixie9.7-3vulnerable
Debiancoreutilsbookworm9.1-1vulnerable
CpecoreutilsNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancoreutilssourcesid(unfixed)unimportantNot reportedNot reported
Debiancoreutilssourceforky(unfixed)unimportantNot reportedNot reported
Debiancoreutilssourcetrixie(unfixed)unimportantNot reportedNot reported
Debiancoreutilssourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [coreutils]Affected
    Details (2)
    • 9.1-1 · amd64 · bookworm

      Affected

      nvd · coreutils · debian · bookworm; nvd · coreutils · debian · 12

    • 9.1-1 · arm64 · bookworm

      Affected

      nvd · coreutils · debian · bookworm; nvd · coreutils · debian · 12

[Debian 13 (Trixie)]

  • [coreutils]Affected
    Details (2)
    • 9.7-3 · amd64 · trixie

      Affected

      nvd · coreutils · debian · 13

    • 9.7-3 · arm64 · trixie

      Affected

      nvd · coreutils · debian · 13

Observed:

References