1.8low
Heap-based Buffer Overflow in GNU coreutils
- Severity
- 1.8low CVSS:4.0 by CERT-PL
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CERT-PL
Description
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GNU coreutils | up to 9.11, 9.11 | CVE List, NVD |
All scores
| CERT-PL | 1.8low CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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
NVD (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
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56392 changed 2026-07-24 | CVE Terms of Use |
| NVD | CVE-2026-56392 changed 2026-10-24 | Public domain |