Skip to main content
VulnerabilityPublished Updated

CVE-2026-56391: GNU coreutils uniq is vulnerable to an out‑of‑bounds read due to incorrect handling of multibyte

Affects coreutilsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-56391· Medium 4.6

Not known to be exploited · CVSS 4.6 Medium : upgrade to 9.7-3ubuntu2.1 when convenient.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
4.6Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.7-3ubuntu2.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu coreutils package to 9.7-3ubuntu2.1.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTScoreutilspkg:deb/ubuntu/coreutils?arch=source&distro=resoluteOther threatsAffected
  • <9.7-3ubuntu2.1
Fixed in
  • 9.7-3ubuntu2.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…