CVE-2026-35373
JSON

3.3low

uutils coreutils ln Local Denial of Service via Improper Handling of Non-UTF-8 Filenames

Severity
3.3low CVSS:3.1 by canonical
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
canonical
Also known as
GHSA-jcjr-rh8q-7xqf

Description

A logic error in the ln utility of uutils coreutils causes the program to reject source paths containing non-UTF-8 filename bytes when using target-directory forms (e.g., ln SOURCE... DIRECTORY). While GNU ln treats filenames as raw bytes and creates the links correctly, the uutils implementation enforces UTF-8 encoding, resulting in a failure to stat the file and a non-zero exit code. In environments where automated scripts or system tasks process valid but non-UTF-8 filenames common on Unix filesystems, this divergence causes the utility to fail, leading to a local denial of service for those specific operations.

Affected

Product or packageVersionsReported by
coreutilsNot specifiedCVE List
uu_ln (crates.io)before 0.6.0GitHub Advisory Database
uutils coreutilsNot specifiedNVD

All scores

canonical3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
GitHub3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-176

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

A logic error in the ln utility of uutils coreutils causes the program to reject source paths containing non-UTF-8 filename bytes when using target-directory forms (e.g., ln SOURCE... DIRECTORY). While GNU ln treats filenames as raw bytes and creates the links correctly, the uutils implementation enforces UTF-8 encoding, resulting in a failure to stat the file and a non-zero exit code. In environments where automated scripts or system tasks process valid but non-UTF-8 filenames common on Unix filesystems, this divergence causes the utility to fail, leading to a local denial of service for those specific operations.

GitHub Advisory Database

In target-directory forms (ln SOURCE... DIRECTORY), ln rejects source paths with non-UTF-8 filename bytes, while GNU accepts them. Breaks GNU compatibility for byte-oriented filenames on Unix filesystems.

PoC:

name=$(printf 'bad_\377'); mkdir dst; : > "$name"; ln "$name" dst
# GNU: exit 0, creates dst/bad_\377 ; uutils: exit 1, dst empty

Zellic private finding (zellic-ext/coreutils-private PR #84). Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.

NVD (es)

Un error lógico en la utilidad ln de uutils coreutils hace que el programa rechace rutas de origen que contienen bytes de nombre de archivo que no son UTF-8 al usar formas de directorio de destino (p. ej., ln ORIGEN... DIRECTORIO). Mientras que GNU ln trata los nombres de archivo como bytes sin procesar y crea los enlaces correctamente, la implementación de uutils impone la codificación UTF-8, lo que resulta en un fallo al hacer stat al archivo y un código de salida distinto de cero. En entornos donde scripts automatizados o tareas del sistema procesan nombres de archivo válidos pero no UTF-8, comunes en sistemas de archivos Unix, esta divergencia hace que la utilidad falle, lo que lleva a una denegación de servicio local para esas operaciones específicas.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-35373 changed 2026-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-jcjr-rh8q-7xqf changed 2026-07-06CC-BY-4.0
NVDCVE-2026-35373 changed 2026-10-26Public domain