{"id":"DHI-e5dk-p6xm-mj7u-f3ii","summary":"GNU coreutils uniq is vulnerable to an out‑of‑bounds read due to incorrect handling of multibyte input when the -w…","details":"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.","modified":"2026-11-20T16:45:04.227918162Z","published":"2026-11-19T20:54:10Z","upstream":["CVE-2026-56391"],"database_specific":{"coverage":"partial","coverage_exclusions":["legacy_package_image_owner"]},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-e5dk-p6xm-mj7u-f3ii"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56391"},{"type":"ADVISORY","url":"https://cert.pl/en/posts/2026/07/CVE-2026-56391"},{"type":"FIX","url":"https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371"},{"type":"WEB","url":"https://git.savannah.gnu.org/cgit/coreutils.git/"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-56391"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-56391"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-67886.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-67886.html"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:67886"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-56391"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-56391"}],"affected":[{"package":{"name":"coreutils","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/coreutils"},"versions":["9.8-r1","9.8-r2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-e5dk-p6xm-mj7u-f3ii.json"}},{"package":{"name":"coreutils","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/coreutils"},"versions":["9.11-r0","9.11-r1"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-e5dk-p6xm-mj7u-f3ii.json","owner_kind":"HSP"}},{"package":{"name":"coreutils","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/coreutils"},"versions":["9.7-3+deb13u0+dhi5","9.7-3+deb13u0+dhi6","9.7-3+dhi1","9.7-3+dhi2","9.7-3+dhi3","9.7-3+dhi4","9.7-3+dhi5","9.7-3dhi0","9.7-3dhi1"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-e5dk-p6xm-mj7u-f3ii.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}