{"id":"CVE-2026-56391","aliases":["ALSA-2026:67886","DEBIAN-CVE-2026-56391","EUVD-2026-48524","GHSA-7xvj-m9x7-qgxq","JLSEC-2026-1195","MGASA-2026-0439","RHSA-2026:46515","RHSA-2026:67886","RLSA-2026:67886","SUSE-SU-2026:24268-1","SUSE-SU-2026:24406-1","UBUNTU-CVE-2026-56391","USN-8697-1","openSUSE-SU-2026:11764-1","openSUSE-SU-2026:22147-1"],"status":"published","title":"Out‑of‑bounds Read in GNU coreutils","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. \nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\n\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\n\n\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.","severity":{"version":"4.0","score":4.6,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00131,"percentile":0.02764,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2026-07-24T07:44:45Z","modified":"2026-10-31T10:46:36Z","fixes":[{"ecosystem":"Mageia:10","package":"coreutils","fixed_in":["9.8-3.mga10"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"coreutils","fixed_in":["0:9.11-5.1.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"coreutils-common","fixed_in":["0:9.11-5.1.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"coreutils-single","fixed_in":["0:9.11-5.1.hum1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"coreutils","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"coreutils-single","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"coreutils-systemd","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"coreutils","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"coreutils-single","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"coreutils-systemd","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Micro 6.2","package":"coreutils","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Micro 6.2","package":"coreutils-systemd","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:26.04:LTS","package":"coreutils","fixed_in":["9.7-3ubuntu2.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 16.0","package":"coreutils","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 16.0","package":"coreutils-single","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 16.0","package":"coreutils-systemd","fixed_in":["9.6-160000.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 16.0","package":"coreutils-testsuite","fixed_in":["9.6-160000.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"AlmaLinux:10","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.5-8.el10_2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"AlmaLinux:10","package":"coreutils-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.5-8.el10_2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"AlmaLinux:10","package":"coreutils-single","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.5-8.el10_2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Debian:12","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.1-1","9.10-1","9.4-1","9.4-2","9.4-3","9.4-3.1","9.5-1","9.6-1","9.6-2","9.7-1","9.7-2","9.7-3"]},{"source":"osv","ecosystem":"Debian:13","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.10-1","9.7-3"]},{"source":"osv","ecosystem":"Debian:14","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.10-1","9.7-3"]},{"source":"osv","ecosystem":"Julia","package":"coreutils_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"9.5.0+0"}]}]},{"source":"osv","ecosystem":"Mageia:10","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.8-3.mga10"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.11-5.1.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"coreutils-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.11-5.1.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"coreutils-single","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.11-5.1.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:10.2","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.5-8.el10_2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:10.2","package":"coreutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.5-8.el10_2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:10.2","package":"coreutils-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.5-8.el10_2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:10.2","package":"coreutils-single","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.5-8.el10_2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:10.2","package":"coreutils-single-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.5-8.el10_2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Rocky Linux:10","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.5-8.el10_2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"coreutils-single","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"coreutils-systemd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"coreutils-single","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"coreutils-systemd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Micro 6.2","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Micro 6.2","package":"coreutils-systemd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.7-3ubuntu2.1"}]}],"versions":["9.5-1ubuntu4","9.7-3ubuntu1","9.7-3ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.32-4.1ubuntu1.4"}]}],"versions":["8.32-4ubuntu2","8.32-4ubuntu3","8.32-4.1ubuntu1","8.32-4.1ubuntu1.1","8.32-4.1ubuntu1.2","8.32-4.1ubuntu1.3"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.4-3ubuntu6.3"}]}],"versions":["9.1-1ubuntu2","9.4-2ubuntu1","9.4-2ubuntu2","9.4-2ubuntu3","9.4-2ubuntu4","9.4-3ubuntu3","9.4-3ubuntu5","9.4-3ubuntu6","9.4-3ubuntu6.1","9.4-3ubuntu6.2"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.7-3ubuntu2.1"}]}],"versions":["9.5-1ubuntu4","9.7-3ubuntu1","9.7-3ubuntu2"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.11-5.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"coreutils-single","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"coreutils-systemd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"coreutils-testsuite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6-160000.3.1"}]}]}],"products":[{"vendor":"gnu","product":"coreutils"},{"vendor":"uutils","product":"coreutils"}],"references":[{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-56391","tags":["third-party-advisory","Third Party Advisory","advisory","web","article","report"]},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git/","tags":["product","Product","web","article"]},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371","tags":["patch","Patch","fix","web","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56391","tags":["advisory","web"]},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7xvj-m9x7-qgxq","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2026:67886","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56391","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56392","tags":["report"]},{"url":"https://bugzilla.redhat.com/2506691","tags":["report"]},{"url":"https://bugzilla.redhat.com/2506694","tags":["report"]},{"url":"https://errata.almalinux.org/10/ALSA-2026-67886.html","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56391.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-56391","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0439.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=36171","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2026/07/25/2","tags":["web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NBV4TP2X6G6D4ITB6FA6CAPLJARRHBQS/","tags":["web"]},{"url":"https://ubuntu.com/security/notices/USN-8697-1","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:46515","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/","tags":["article"]},{"url":"https://images.redhat.com/","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_46515.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2506691","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56391","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2506694","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_67886.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56392","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56392","tags":["advisory"]},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d","tags":["article"]},{"url":"https://errata.rockylinux.org/RLSA-2026:67886","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624268-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1272698","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-56391","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624406-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-56391","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2025-5278","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-56392","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-56391","title":"Out‑of‑bounds Read in GNU coreutils","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. \nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\n\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\n\n\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.","status":"published","published":"2026-07-24T07:44:45.581Z","modified":"2026-07-24T12:31:34.245Z","cvss":[{"version":"4.0","score":4.6,"vector":"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","level":"medium","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T13:36:51.6229Z"}],"euvd":[{"id":"EUVD-2026-48524","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. \nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\n\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\n\n\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.","status":"published","published":"2026-07-24T07:44:45Z","modified":"2026-07-24T12:31:34Z","cvss":[{"version":"4.0","score":4.6,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T18:19:41.195396Z"}],"ghsa":[{"id":"GHSA-7xvj-m9x7-qgxq","title":"GNU coreutils uniq is vulnerable to an out‑of‑bounds read due to incorrect handling of multibyte...","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. \nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\n\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\n\n\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.","status":"published","published":"2026-07-24T09:32:16Z","modified":"2026-10-24T15:31:35Z","cvss":[{"version":"4.0","score":4.6,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:14:21.369076Z"}],"nvd":[{"id":"CVE-2026-56391","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. \nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\n\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\n\n\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.","status":"published","published":"2026-07-24T09:16:25.003Z","modified":"2026-10-24T13:10:00.147Z","cvss":[{"version":"4.0","score":4.6,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:12:32.473901Z"}],"osv":[{"id":"CVE-2026-56391","title":"Out‑of‑bounds Read in GNU coreutils","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. \nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\n\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\n\n\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.","status":"published","published":"2026-07-24T07:44:45.581Z","modified":"2026-11-08T10:45:37.43066466Z","cvss":[{"version":"4.0","score":4.6,"vector":"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","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-07T11:15:14.449016Z"},{"id":"DEBIAN-CVE-2026-56391","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.","status":"published","published":"2026-07-24T09:16:25.003Z","modified":"2026-10-25T09:47:32.522798298Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:57.590991Z"},{"id":"JLSEC-2026-1195","title":"GNU coreutils uniq is vulnerable to an out‑of‑bounds read due to incorrect handling of multibyte...","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.\nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\n\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\n\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.","status":"published","published":"2026-08-07T17:08:02.5Z","modified":"2026-08-07T17:28:41.384363556Z","cvss":[{"version":"4.0","score":4.6,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:47:18.159338Z"},{"id":"RHSA-2026:46515","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update","status":"published","published":"2026-07-28T10:13:52Z","modified":"2026-10-06T10:31:26.637103312Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:20.984762Z"},{"id":"RHSA-2026:67886","title":"Red Hat Security Advisory: coreutils security update","status":"published","published":"2026-09-17T10:18:05Z","modified":"2026-10-14T10:27:47Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:22.406388Z"},{"id":"RLSA-2026:67886","title":"Moderate: coreutils security update","description":"The coreutils packages contain the GNU Core Utilities and represent a combination of the previously used GNU fileutils, sh-utils, and textutils packages.\n\nSecurity Fix(es):\n\n* coreutils: GNU coreutils uniq: Denial of Service and information disclosure via out-of-bounds read with multibyte input (CVE-2026-56391)\n\n* coreutils: GNU coreutils unexpand: Denial of Service via crafted tab stop values (CVE-2026-56392)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.","status":"published","published":"2026-09-17T12:10:28.765909Z","modified":"2026-09-17T12:30:02.621913553Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:26.449929Z"},{"id":"UBUNTU-CVE-2026-56391","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.","status":"published","published":"2026-07-24T09:16:00Z","modified":"2026-08-31T17:16:42.925286427Z","cvss":[{"version":"4.0","score":4.6,"vector":"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","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:56:41.382716Z"},{"id":"ALSA-2026:67886","title":"Moderate: coreutils security update","description":"The coreutils packages contain the GNU Core Utilities and represent a combination of the previously used GNU fileutils, sh-utils, and textutils packages.  \n\nSecurity Fix(es):  \n\n  * coreutils: GNU coreutils uniq: Denial of Service and information disclosure via out-of-bounds read with multibyte input (CVE-2026-56391)\n  * coreutils: GNU coreutils unexpand: Denial of Service via crafted tab stop values (CVE-2026-56392)\n\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n","status":"published","published":"2026-09-16T00:00:00Z","modified":"2026-10-29T11:30:42.067311114Z","updated_at":"2026-11-02T15:27:55.200553Z"},{"id":"MGASA-2026-0439","title":"Updated coreutils package fixes a security vulnerability","description":"Out‑of‑bounds Read in GNU coreutils. (CVE-2026-56391)\n","status":"published","published":"2026-09-23T16:56:55Z","modified":"2026-09-23T17:00:04.979766727Z","updated_at":"2026-11-02T15:49:43.795591Z"},{"id":"openSUSE-SU-2026:11764-1","title":"coreutils-9.11-5.1 on GA media","description":"These are all security issues fixed in the coreutils-9.11-5.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-09-12T00:00:00Z","modified":"2026-09-13T12:15:04.260481625Z","updated_at":"2026-11-02T16:58:39.516824Z"},{"id":"openSUSE-SU-2026:22147-1","title":"Security update for coreutils","description":"This update for coreutils fixes the following issue:\n\n- CVE-2026-56391: uniq: denial of service and information disclosure via out-of-bounds read with multibyte input\n  (bsc#1272698).\n","status":"published","published":"2026-10-21T08:10:35Z","modified":"2026-10-23T17:23:12.253795512Z","updated_at":"2026-11-02T16:58:42.426393Z"},{"id":"SUSE-SU-2026:24268-1","title":"Security update for coreutils","description":"This update for coreutils fixes the following issue:\n\n- CVE-2026-56391: uniq: denial of service and information disclosure via out-of-bounds read with multibyte input\n  (bsc#1272698).\n","status":"published","published":"2026-10-21T08:39:14Z","modified":"2026-10-23T17:23:10.809601635Z","updated_at":"2026-11-02T15:54:04.519245Z"},{"id":"SUSE-SU-2026:24406-1","title":"Security update for coreutils","description":"This update for coreutils fixes the following issue:\n\n- CVE-2026-56391: uniq: denial of service and information disclosure via out-of-bounds read with multibyte input\n  (bsc#1272698).\n","status":"published","published":"2026-10-21T08:39:14Z","modified":"2026-10-30T17:23:16.063813761Z","updated_at":"2026-11-02T15:54:04.519245Z"},{"id":"USN-8697-1","title":"coreutils vulnerabilities","description":"It was discovered that GNU Core Utilities sort had a heap buffer under-read\nin its begfield() function. A local attacker could possibly use this issue\nto cause GNU Core Utilities to crash, resulting in a denial of service, or\nobtain sensitive information. (CVE-2025-5278)\n\nIt was discovered that GNU Core Utilities uniq had an out-of-bounds read\nwhen the -w option was used with crafted multibyte input. A local attacker\ncould possibly use this issue to cause GNU Core Utilities to crash,\nresulting in a denial of service, or obtain sensitive information. This\nissue only affected Ubuntu 26.04 LTS. (CVE-2026-56391)","status":"published","published":"2026-08-31T11:40:50Z","modified":"2026-08-31T17:26:24.789222646Z","updated_at":"2026-11-02T16:58:26.907654Z"}]}}
