CVE-2026-56392CWE-122

CVE-2026-56392

Medium · published July 24, 2026

CVSS v3.1
6.1
EPSS
0%
Percentile
7.8
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00186 · 7.8th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2026-07-24T13:16Z
Affected products (1)
ProductVersionsFixed in
gnu/coreutilsall versions—
References (3)
EPSS history
Timeline
  • 24 JUL 07:44Z
    Heap-based Buffer Overflow in GNU coreutils
    cvelistv5