CVE Explorer
CVE-2026-56391
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 co
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","modules":["uniq"],"product":"coreutils","vendor":"GNU","versions":[{"lessThanOrEqual":"9.11","status":"affected","version":"9.5","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6e5f57f62e3d2e0554bc3822c905c14dfc21597aada737baf12a7b225729f31e · sha256:13a93ab7d91129b1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":4.6,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6e5f57f62e3d2e0554bc3822c905c14dfc21597aada737baf12a7b225729f31e · sha256:13a93ab7d91129b1… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6e5f57f62e3d2e0554bc3822c905c14dfc21597aada737baf12a7b225729f31e · sha256:13a93ab7d91129b1… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"tags":["third-party-advisory"],"url":"https://cert.pl/en/posts/2026/07/CVE-2026-56391"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6e5f57f62e3d2e0554bc3822c905c14dfc21597aada737baf12a7b225729f31e · sha256:13a93ab7d91129b1… · /containers/cna/references/0
{"tags":["product"],"url":"https://git.savannah.gnu.org/cgit/coreutils.git/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6e5f57f62e3d2e0554bc3822c905c14dfc21597aada737baf12a7b225729f31e · sha256:13a93ab7d91129b1… · /containers/cna/references/1
{"tags":["patch"],"url":"https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6e5f57f62e3d2e0554bc3822c905c14dfc21597aada737baf12a7b225729f31e · sha256:13a93ab7d91129b1… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.