CVE-2026-56391
Last modified
CVE-2026-56391 is a medium-severity vulnerability rated 4.6/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| GNU | coreutils | >= 9.5, <= 9.11 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-56391?
How severe is CVE-2026-56391?
How do I fix CVE-2026-56391?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-56383Craft CMS contains a stored cross-site scripting (XSS) vulne…4.8
- CVE-2026-56384Craft CMS contains a missing authorization vulnerability in …5.3
- CVE-2026-56385Craft CMS versions >= 5.0.0-RC1, <= 5.9.13 and >= 4.0.0-RC1,…5.3
- CVE-2026-56389GNU Bison allows for an execution of an arbitrary program du…6.8
- CVE-2026-5639A flaw has been found in PHPGurukul Online Shopping Portal P…6.3
- CVE-2026-56390GNU Bison improperly handles grammar‑defined output paths. G…4.6
- CVE-2026-56392GNU coreutils unexpand is vulnerable to a heap-based buffer …1.8
- CVE-2026-56393Craft CMS 4.x (>= 4.0.0-RC1, < 4.17.0-beta.1) and 5.x (>= 5.…4.8
- CVE-2026-56394Craft CMS from 4.0.0-RC1 contains an authenticated path trav…7.1
- CVE-2026-56395SiYuan before v3.6.1 fails to sanitize package metadata and …9.6
- CVE-2026-56396phpMyFAQ before 4.1.4 contains missing authorization vulnera…8.8
- CVE-2026-56397SiYuan before v3.6.1 fails to sanitize package metadata and …9.6
Are you affected by CVE-2026-56391?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
