# JLSEC-2026-1196: GNU coreutils unexpand is vulnerable to a heap-based buffer overflow due to an integer overflow...

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-07T17:08:02.500Z
- Modified: 2026-08-07T17:28:41.667Z
- Related: CVE-2026-56392, EUVD-2026-48525, GHSA-g24f-m2hx-pfgx

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

(As written by Julia Security Advisories.)

## Affected

- coreutils_jll (Julia): all versions

## References

- <https://cert.pl/en/posts/2026/07/CVE-2026-56391> (web)
- <https://git.savannah.gnu.org/cgit/coreutils.git> (web)
- <https://git.savannah.gnu.org/cgit/coreutils.git/> (web)
- <https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d> (web)
- <https://github.com/advisories/GHSA-g24f-m2hx-pfgx> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56392> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1196](https://osv.dev/vulnerability/JLSEC-2026-1196), CC-BY-4.0, modified 2026-08-07

---

Page: https://cve.day/JLSEC-2026-1196 · Whole record: https://cve.day/JLSEC-2026-1196.json · Rebuilt by cve.day 2026-11-25T22:56:25.898Z
