Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. uu_ln
  4. ›
  5. CVE-2026-35373

CVE-2026-35373: ln: rejects non-UTF-8 source filenames in target-directory mode

July 6, 2026

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

References

  • github.com/advisories/GHSA-jcjr-rh8q-7xqf
  • github.com/uutils/coreutils/pull/11403
  • github.com/uutils/coreutils/security/advisories/GHSA-jcjr-rh8q-7xqf
  • nvd.nist.gov/vuln/detail/CVE-2026-35373

Code Behaviors & Features

Detect and mitigate CVE-2026-35373 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.0

Fixed versions

  • 0.6.0

Solution

Upgrade to version 0.6.0 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-176: Improper Handling of Unicode Encoding

Source file

cargo/uu_ln/CVE-2026-35373.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 13 Jul 2026 00:18:53 +0000.