CyberRota Analysis
AI-GeneratedThe GNU coreutils unexpand utility is vulnerable to a heap-based buffer overflow due to an integer overflow in buffer allocation when handling large tab stop values. This flaw can lead to crashes and potentially allow attackers to execute arbitrary code through out-of-bounds heap writes, depending on the memory layout. Organizations using F5 products that incorporate GNU coreutils should prioritize patching this vulnerability to mitigate the risk of exploitation.
Original NVD 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