p PatchFirst

CVE-2026-56392

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 1.8 · Low · EPSS 0.2%

Published
Updated

Stack: system

Affected products and versions

  • coreutils

    Versions
    • ≥ 0, ≤ 9.11: Affected (custom)

    No fix published

  • coreutils Debian:12

    Versions
    • 9.1-1
    • 9.10-1
    • 9.4-1
    • 9.4-2
    • 9.4-3
    • 9.4-3.1
    • 9.5-1
    • 9.6-1
    • 9.6-2
    • 9.7-1
    • 9.7-2
    • 9.7-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • coreutils Debian:13

    Versions
    • 9.10-1
    • 9.7-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • coreutils Debian:14

    Versions
    • 9.10-1
    • 9.7-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →