CVE-2026-56391
mediumpriority · track · 24EPSS 0.001 · 3 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1–6.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://cert.pl/en/posts/2026/07/CVE-2026-56391cnnvd
- https://git.savannah.gnu.org/cgit/coreutils.git/cnnvd
- https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371cnnvd
- https://cert.pl/en/posts/2026/07/CVE-2026-56391enisa_euvd
- https://git.savannah.gnu.org/cgit/coreutils.git/enisa_euvd
- https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371enisa_euvd
- https://cert.pl/en/posts/2026/07/CVE-2026-56391Third Party Advisorynvd
- https://git.savannah.gnu.org/cgit/coreutils.git/Productnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan