{"id":"JLSEC-2026-1195","aliases":["JLSEC-2026-1195"],"related":["CVE-2026-56391","EUVD-2026-48524","GHSA-7xvj-m9x7-qgxq"],"kind":"vulnerability","state":"published","title":"GNU coreutils uniq is vulnerable to an out‑of‑bounds read due to incorrect handling of multibyte...","summary":"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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","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\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.","format":"markdown","source":"jlsec"}],"published":"2026-08-07T17:08:02.500Z","modified":"2026-08-07T17:28:41.384Z","severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS: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/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"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"9.5.0+0","status":"affected"}],"ecosystem":"Julia","package":"coreutils_jll","purl":"pkg:julia/coreutils_jll?uuid=5818bda4-868b-5068-b238-e370ed6eefef","source":"jlsec"}],"references":[{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-56391","tags":["web"],"sources":["jlsec"]},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git","tags":["web"],"sources":["jlsec"]},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git/","tags":["web"],"sources":["jlsec"]},{"url":"https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/advisories/GHSA-7xvj-m9x7-qgxq","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56391","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1195","url":"https://osv.dev/vulnerability/JLSEC-2026-1195","licence":"CC-BY-4.0","modified":"2026-08-07T17:28:41.384Z"}],"updatedAt":"2026-11-25T22:56:25.897Z"}