CVE-2026-56391: Out-of-bounds read in GNU coreutils uniq multibyte character handling
- Vendor
- GNU Project
CVE-2026-56391 is an out-of-bounds read vulnerability affecting GNU coreutils versions 9.5 through 9.11 in the uniq utility. When processing crafted multibyte input with the -w (--check-chars) option, find_field() repeatedly processes a fixed pointer instead of advancing through the input. This produces an inflated character byte-length calculation that is subsequently passed to memcmp(), causing reads beyond the allocated buffer. Exploitation can crash the process and potentially expose adjacent heap memory.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A local attacker can potentially cause denial of service by crashing uniq and may obtain sensitive information from adjacent heap memory. Applications or scripts invoking the affected utility on attacker-controlled input and arguments may also be disrupted. Integrity compromise, arbitrary code execution, and privilege escalation are not established.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid using uniq with -w (--check-chars) on untrusted multibyte input, and prevent untrusted users from controlling arguments supplied to uniq by applications or scripts. Restrict untrusted local access where feasible. No vendor-approved workaround is specified.
Remediation
Patch, then assume compromise.
Apply upstream commit d64e35a8a4c0e4608321433e0d84d917e4e36371 or install a vendor package incorporating the fix. Fixed packages include coreutils 9.5-8.el10_2.1 for RHEL 10; gnu-coreutils 9.7-3ubuntu2.1 for Ubuntu 26.04 LTS; coreutils 9.6-160000.3.1 for SLES 16.0, SLES for SAP applications 16.0, and openSUSE Leap 16.0; coreutils 9.6-160100.3.1 for SLES and SLES for SAP applications 16.1; and coreutils 9.11-5.1 for openSUSE Tumbleweed. Install applicable subsequent vendor updates and update associated installed subpackages. Rebuild or redeploy affected containers with patched packages. VMware Tanzu RabbitMQ fixes are included in releases 3.13.21, 4.1.17, 4.2.12, and 4.3.7 for their respective release branches.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-56391 exploited in the wild?
- As of Nov 7, 2026, Mallory has no reports of CVE-2026-56391 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-56391?
- As of Nov 7, 2026, Mallory has found no public exploit for CVE-2026-56391.
- Is there a patch for CVE-2026-56391?
- Apply upstream commit d64e35a8a4c0e4608321433e0d84d917e4e36371 or install a vendor package incorporating the fix. Fixed packages include coreutils 9.5-8.el10_2.1 for RHEL 10; gnu-coreutils 9.7-3ubuntu2.1 for Ubuntu 26.04 LTS; coreutils 9.6-160000.3.1 for SLES 16.0, SLES for SAP applications 16.0, and openSUSE Leap 16.0; coreutils 9.6-160100.3.1 for SLES and SLES for SAP applications 16.1; and coreutils 9.11-5.1 for openSUSE Tumbleweed.
- What products are affected by CVE-2026-56391?
- GNU Project Coreutils.
- How severe is CVE-2026-56391?
- CVE-2026-56391 has a CVSS v4 score of 4.6 (Medium) and an EPSS score of 0.13% (3rd percentile) as of Nov 7, 2026.
Recent activity
18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.