CVE-2026-56391 Out‑of‑bounds Read in GNU coreutils
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
13 packages: 5 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/coreutils(Debian 12) | = 9.1-1; = 9.4-1; = 9.4-2; = 9.4-3 +9 more | No fix listed | No fix yet |
| debian/coreutils(Debian 13) | = 9.7-3; = 9.10-1; All versions | No fix listed | No fix yet |
| debian/coreutils(Debian 14) | = 9.7-3; = 9.10-1; All versions | No fix listed | No fix yet |
| redhat/coreutils(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/coreutils(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| azure linux coreutils(Azure Linux 4.0) | < 0:9.7-14.azl4 | 0:9.7-14.azl4 | Fixed |
| GNU coreutils | >= 9.5, <= 9.11 | after 9.11 | Fixed |
| redhat/coreutils(Red Hat enterprise_linux 10.2) | < 9.5-8.el10_2.1 | 9.5-8.el10_2.1 | Fixed |
| redhat/coreutils-main(Red Hat hummingbird 1) | < 9.11-5.1.hum1 | 9.11-5.1.hum1 | Fixed |
| ubuntu/coreutils(Ubuntu 26.04) | < 9.7-3ubuntu2.1 | 9.7-3ubuntu2.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GNU coreutils | >= 9.5, <= 9.11 | No fix listed |
| redhat/coreutils(Red Hat:enterprise_linux:10.2) | < 9.5-8.el10_2.1 | 9.5-8.el10_2.1 |
| redhat/coreutils-main(Red Hat:hummingbird:1) | < 9.11-5.1.hum1 | 9.11-5.1.hum1 |
| redhat/coreutils(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/coreutils(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/coreutils(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/coreutils(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhoai/odh-core-bff-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kf-notebook-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-agent-ops-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-automl-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-autorag-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-notebook-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| debian/coreutils(Debian:12) | All versions | No fix listed |
| debian/coreutils(Debian:12) | = 9.1-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.10-1 | No fix listed |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/coreutils(Debian:12) | = 9.4-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.4-2 | No fix listed |
| debian/coreutils(Debian:12) | = 9.4-3 | No fix listed |
| debian/coreutils(Debian:12) | = 9.4-3.1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.5-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.6-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.6-2 | No fix listed |
| debian/coreutils(Debian:12) | = 9.7-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.7-2 | No fix listed |
| debian/coreutils(Debian:12) | = 9.7-3 | No fix listed |
| debian/coreutils(Debian:13) | All versions | No fix listed |
| debian/coreutils(Debian:13) | = 9.10-1 | No fix listed |
| debian/coreutils(Debian:13) | = 9.7-3 | No fix listed |
| debian/coreutils(Debian:14) | All versions | No fix listed |
| debian/coreutils(Debian:14) | = 9.10-1 | No fix listed |
| debian/coreutils(Debian:14) | = 9.7-3 | No fix listed |
| ubuntu/coreutils(Ubuntu:26.04) | < 9.7-3ubuntu2.1 | 9.7-3ubuntu2.1 |
| azure linux coreutils(Azure Linux:4.0) | < 0:9.7-14.azl4 | 0:9.7-14.azl4 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- cert.pl third-party-advisory
- git.savannah.gnu.org product
- git.savannah.gnu.org patch
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:67886 patch vendor-advisory
- RHSA-2026:46515 patch vendor-advisory
- Red Hat Bugzilla 2506691 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-56391 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8697-1 vendor-advisory