CVE-2026-56391: Out‑of‑bounds Read in GNU coreutils

Published Jul 24, 2026
·
Updated

GNU coreutils uniq is vulnerable to an out‑of‑bounds read due to incorrect handling of multibyte input when the -w (--check-chars) option is used. The findfield() function miscalculates the byte length of characters by repeatedly processing a fixed pointer instead of advancing through the input, resulting in an inflated length value. This incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.

Affected Software

5 affected componentsFixes available
GNU coreutils uniq
debian/coreutils<=8.32-4, <=9.1-1, <=9.7-3, <=9.10-1
Microsoft azl4 coreutils 9.7-14.azl4<0:9.7-14.azl4
0:9.7-14.azl4
GNU Coreutils>=9.5<=9.11
IBM Cloud Pak for Data System (Yosemite 1.0)<=11.3.1.2-IF1 - 11.3.1.2-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0:9.7-14.azl4
  2. Upgrade

    Upgrade GNU coreutils uniq to a version that resolves this vulnerability.

    Patch d64e35a8a4c0e4608321433e0d84d917e4e36371

Event History

Jul 24, 2026
CVE Published
via MITRE·07:44 AM
Data Sourced
via MITRE·07:44 AM
DescriptionWeakness
Data Sourced
via OSV·07:44 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·09:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 7, 2026
Data Sourced
via Microsoft·07:22 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:22 AM
Affected Software
Oct 21, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-56391?

CVE-2026-56391 has a risk score of 23, indicating a significant security vulnerability.

2

How do I fix CVE-2026-56391?

To remediate CVE-2026-56391, update your GNU coreutils to the latest version where the vulnerability has been patched.

3

What type of vulnerability is CVE-2026-56391?

CVE-2026-56391 is classified as an out-of-bounds read vulnerability.

4

Which software is affected by CVE-2026-56391?

CVE-2026-56391 affects the GNU coreutils uniq tool.

5

How does CVE-2026-56391 impact system security?

CVE-2026-56391 can lead to information disclosure through incorrect handling of multibyte input.

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