« List of all CVEs

CVE-2026-56392

Heap-based Buffer Overflow in GNU coreutils

Published: 7/24/2026 Last updated: 7/24/2026 Reserved: 6/21/2026

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

CNA assigner: CERT-PL (4bb8329e-dd38-46c1-aafb-9bf32bcb93c6) Requested by: n/a

Metrics

Version Score Severity Vector String
4.0 1.8 Low 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

Opam packages affected (5)

conf-timeout fstar karamel kremlin liquidsoap

Products affected (0)

No product listed.

References (3)

Credits (2)