{"id":"CVE-2026-35381","aliases":["CVE-2026-35381","GHSA-pmfc-4wjj-gmhx"],"related":[],"kind":"vulnerability","state":"published","title":"uutils coreutils cut Local Logic Error and Data Integrity Issue in Output Filtering","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"`cut` routes `-z -d ''` through a special newline-delimiter path that ignores the `-s` only-delimited flag, emitting whole undelimited records (plus NUL) that should be suppressed. Pipelines relying on `cut -s` to drop undelimited records process data that should be filtered.\n```\nprintf 'abc' | cut -z -d '' -s -f 1 | od -An -tx1   # GNU: no output ; uutils: 61 62 63 00\n```\n\n---\n_Zellic private finding (zellic-ext/coreutils-private PR #102). Reported in the Zellic *uutils coreutils Program Security Assessment* (for Canonical, Jan 2026), audited commit `3a07ffc5a9bd4c283e75afa548ba1f1957bad242`._","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-22T16:09:22.228Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"}],"cwes":["CWE-684"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.8.0","status":"affected"}],"vendor":"Uutils","product":"coreutils","package":"coreutils","repo":"https://github.com/uutils/coreutils","platforms":["Linux","Unix","macOS"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.8.0"}],"ecosystem":"crates.io","package":"uu_cut","purl":"pkg:cargo/uu_cut","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.8.0"}],"vendor":"uutils","product":"coreutils","cpe":"cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/uutils/coreutils/pull/11394","tags":["exploit","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/uutils/coreutils/releases/tag/0.8.0","tags":["release-notes","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/uutils/coreutils/security/advisories/GHSA-pmfc-4wjj-gmhx","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35381","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/uutils/coreutils/commit/483f13e91830c468262aa1e010e753d6ae99c898","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/uutils/coreutils","tags":["package"],"sources":["ghsa"]}],"credits":["Zellic"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-22T16:52:48.799Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35381","url":"https://www.cve.org/CVERecord?id=CVE-2026-35381","licence":"CVE Terms of Use","modified":"2026-04-22T16:53:09.992Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pmfc-4wjj-gmhx","url":"https://github.com/advisories/GHSA-pmfc-4wjj-gmhx","licence":"CC-BY-4.0","modified":"2026-10-06T18:30:03.603Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35381","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35381","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:19.340Z","epss":{"score":0.00189,"percentile":0.08925,"date":"2026-12-01T12:00:22.000Z"}}