cve.bz

CVE-2026-56391 gnu coreutils: Out-of-bounds Read

4.6 mediumEPSS 0.1%Fix available

Medium (4.6) in gnu coreutils. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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 find_field() 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. When running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure. This issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.

Severity

CVSS 4.0

4.6 medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

6.1 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-56391 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-56391?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-56391?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-56391 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-56391

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-56391](https://cve.bz/cve/badge/CVE-2026-56391.svg)](https://cve.bz/cve/CVE-2026-56391)

HTML:

<a href="https://cve.bz/cve/CVE-2026-56391"><img src="https://cve.bz/cve/badge/CVE-2026-56391.svg" alt="CVE-2026-56391"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GNU coreutilsfrom 9.5 through 9.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14coreutilsno fix listedDEBIAN-CVE-2026-56391
Ubuntu22.04:LTScoreutils8.32-4.1ubuntu1.4USN-8697-1
Ubuntu24.04:LTScoreutils9.4-3ubuntu6.3USN-8697-1
Ubuntu26.04:LTScoreutils9.7-3ubuntu2.1UBUNTU-CVE-2026-56391 USN-8697-1
Red Hatenterprise_linux:10.2coreutils, coreutils-single, coreutils-debuginfo and 2 more0:9.5-8.el10_2.1RHSA-2026:67886
Red Hathummingbird:1coreutils, coreutils-common, coreutils-single0:9.11-5.1.hum1RHSA-2026:46515
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0coreutils, coreutils-single, coreutils-systemd9.6-160000.3.1SUSE-SU-2026:24268-1
SUSELinux Micro 6.2coreutils, coreutils-systemd9.6-160000.3.1SUSE-SU-2026:24406-1
openSUSELeap 16.0coreutils, coreutils-single, coreutils-systemd and 1 more9.6-160000.3.1openSUSE-SU-2026:22147-1
openSUSETumbleweedcoreutils9.11-5.1openSUSE-SU-2026:11764-1
AlmaLinux10coreutils, coreutils-common, coreutils-single9.5-8.el10_2.1ALSA-2026:67886
Rocky Linux10coreutils0:9.5-8.el10_2.1RLSA-2026:67886

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate flaw in GNU coreutils `uniq` allows an out-of-bounds read when processing specially crafted multibyte input with the `--check-chars` option. An attacker providing malicious input to `uniq` could trigger a denial of service due to an application crash, and potentially disclose adjacent heap memory. Exploitation requires local user interaction to execute `uniq` with the vulnerable options and input.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10coreutils-0:9.5-8.el10_2.1Fixed 2026-09-16RHSA-2026:67886
Red Hat Hardened Imagescoreutils-main-9.11-5.1.hum1Fixed 2026-07-27RHSA-2026:46515
Red Hat Enterprise Linux 6coreutilsOut of support scope
Red Hat Enterprise Linux 7coreutilsOut of support scope
Red Hat Enterprise Linux 8coreutilsFix deferred
Red Hat Enterprise Linux 9coreutilsFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-56391.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON