CVE-2026-56392: Heap-based Buffer Overflow in GNU coreutils

Published Jul 24, 2026
·
Updated

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 Software

1 affected component
GNU coreutils (unexpand)

Event History

Jul 24, 2026
CVE Published
via MITRE·07:44 AM
Data Sourced
via MITRE·07:44 AM
DescriptionWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56392?

CVE-2026-56392 has a risk score of 52, indicating a moderate level of severity.

2

How do I fix CVE-2026-56392?

To fix CVE-2026-56392, update to the latest version of GNU coreutils that addresses the heap-based buffer overflow.

3

What vulnerabilities are associated with CVE-2026-56392?

CVE-2026-56392 is associated with buffer overflow and integer overflow vulnerabilities.

4

What software is impacted by CVE-2026-56392?

GNU coreutils, specifically the unexpand command, is impacted by CVE-2026-56392.

5

What type of vulnerability is CVE-2026-56392?

CVE-2026-56392 is a heap-based buffer overflow vulnerability caused by an integer overflow during buffer allocation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203