{"id":"CVE-2026-56391","published":"2026-07-24T07:44:45Z","modified":"2026-07-24T12:31:34Z","title":"Out‑of‑bounds Read in GNU coreutils","vendor":"GNU","product":"coreutils","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00171,"percentile":0.03706,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-56391","tags":["third-party-advisory"]},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git/","tags":["product"]},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371","tags":["patch"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":0.74},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"gnu","affectedVersions":[{"vendor":"GNU","product":"coreutils","versions":[">= 9.5, <= 9.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-24T12:31:16.655541Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-48524","exploited":false,"provenance":"source"}}