Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-56391

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-56391

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-56391

coreutils

Source reference: /affected/0/package/name

Affected versions
9.1-1

Source reference: /affected/0/versions

9.10-1

Source reference: /affected/0/versions

9.4-1

Source reference: /affected/0/versions

9.4-2

Source reference: /affected/0/versions

9.4-3

Source reference: /affected/0/versions

9.4-3.1

Source reference: /affected/0/versions

9.5-1

Source reference: /affected/0/versions

9.6-1

Source reference: /affected/0/versions

9.6-2

Source reference: /affected/0/versions

9.7-1

Source reference: /affected/0/versions

9.7-2

Source reference: /affected/0/versions

9.7-3

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

coreutils

Source reference: /affected/1/package/name

Affected versions
9.10-1

Source reference: /affected/1/versions

9.7-3

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

coreutils

Source reference: /affected/2/package/name

Affected versions
9.10-1

Source reference: /affected/2/versions

9.7-3

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "coreutils",
      "purl": "pkg:deb/debian/coreutils?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "9.1-1",
      "9.10-1",
      "9.4-1",
      "9.4-2",
      "9.4-3",
      "9.4-3.1",
      "9.5-1",
      "9.6-1",
      "9.6-2",
      "9.7-1",
      "9.7-2",
      "9.7-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56391.json"
    },
    "ecosystem_specific": {
      "urgency": "unimportant"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "coreutils",
      "purl": "pkg:deb/debian/coreutils?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "9.10-1",
      "9.7-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56391.json"
    },
    "ecosystem_specific": {
      "urgency": "unimportant"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "coreutils",
      "purl": "pkg:deb/debian/coreutils?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "9.10-1",
      "9.7-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56391.json"
    },
    "ecosystem_specific": {
      "urgency": "unimportant"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#57966 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement