← Back to CVE Explorer

CVE-2026-35381

Full vulnerability record from the local CVENow database.

Description

A logic error in the cut utility of uutils coreutils causes the utility to ignore the -s (only-delimited) flag when using the -z (null-terminated) and -d '' (empty delimiter) options together. The implementation incorrectly routes this specific combination through a specialized newline-delimiter code path that fails to check the record suppression status. Consequently, uutils cut emits the entire record plus a NUL byte instead of suppressing it. This divergence from GNU coreutils behavior creates a data integrity risk for automated pipelines that rely on cut -s to filter out undelimited data.

Severity
LOW
CVSS score
3.3 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-04-22 17:16:43.200000
Last modified
2026-10-26 22:10:00.163000
View original CVE JSON
{
  "id": "CVE-2026-35381",
  "sourceIdentifier": "[email protected]",
  "published": "2026-04-22T17:16:43.200",
  "lastModified": "2026-10-26T22:10:00.163",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "A logic error in the cut utility of uutils coreutils causes the utility to ignore the -s (only-delimited) flag when using the -z (null-terminated) and -d '' (empty delimiter) options together. The implementation incorrectly routes this specific combination through a specialized newline-delimiter code path that fails to check the record suppression status. Consequently, uutils cut emits the entire record plus a NUL byte instead of suppressing it. This divergence from GNU coreutils behavior creates a data integrity risk for automated pipelines that rely on cut -s to filter out undelimited data."
    },
    {
      "lang": "es",
      "value": "Un error de lógica en la utilidad cut de uutils coreutils hace que la utilidad ignore el indicador -s (solo delimitado) cuando se usan las opciones -z (terminado en nulo) y -d ’’ (delimitador vacío) juntas. La implementación enruta incorrectamente esta combinación específica a través de una ruta de código especializada para delimitadores de nueva línea que no verifica el estado de supresión de registros. En consecuencia, uutils cut emite el registro completo más un byte NUL en lugar de suprimirlo. Esta divergencia del comportamiento de GNU coreutils crea un riesgo de integridad de datos para pipelines automatizados que dependen de cut -s para filtrar datos no delimitados."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Uutils",
          "product": "coreutils",
          "defaultStatus": "unaffected",
          "collectionURL": "https://github.com/uutils",
          "packageName": "coreutils",
          "platforms": [
            "Linux",
            "Unix",
            "macOS"
          ],
          "repo": "https://github.com/uutils/coreutils",
          "versions": [
            {
              "version": "0",
              "lessThan": "0.8.0",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
          "baseScore": 3.3,
          "baseSeverity": "LOW",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 1.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-04-22T16:52:48.799157Z",
          "id": "CVE-2026-35381",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-684"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*",
              "versionEndExcluding": "0.8.0",
              "matchCriteriaId": "2365DBBD-6F10-4651-8DA4-08AE79E14423"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/uutils/coreutils/pull/11394",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Issue Tracking",
        "Patch"
      ]
    },
    {
      "url": "https://github.com/uutils/coreutils/releases/tag/0.8.0",
      "source": "[email protected]",
      "tags": [
        "Release Notes"
      ]
    }
  ]
}