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 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
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnu:coreutils:9.11:*:*:*:*:*:*:*

History

24 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) GNU coreutils unexpand es vulnerable a un desbordamiento de búfer basado en montículo debido a un desbordamiento de entero durante la asignación de búfer al procesar valores grandes de tabulación (-t). La multiplicación utilizada para calcular el tamaño de la asignación puede dar la vuelta, lo que resulta en un búfer de tamaño insuficiente. Al procesar entrada manipulada, las escrituras subsiguientes exceden la memoria asignada, lo que lleva a una escritura fuera de límites en el montículo. Al ejecutar GNU coreutils unexpand con argumentos de tabulación (-t) grandes proporcionados por el atacante, este comportamiento lleva a un fallo y potencialmente logra una primitiva de escritura en el montículo dependiendo del diseño de la memoria. Este problema ha sido corregido en el commit b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d

02 Oct 2026, 13:57

Type Values Removed Values Added
CPE cpe:2.3:a:gnu:coreutils:*:*:*:*:*:*:*:* cpe:2.3:a:gnu:coreutils:9.11:*:*:*:*:*:*:*

Information

Published : 2026-07-24 09:16

Updated : 2026-10-24 13:10


NVD link : CVE-2026-56392

Mitre link : CVE-2026-56392

CVE.ORG link : CVE-2026-56392


JSON object : View

Products Affected

gnu

  • coreutils
CWE
CWE-122

Heap-based Buffer Overflow