UBUNTU-CVE-2026-35348: Medium severity ubuntu/rust-coreutils vulnerability

Published Apr 22, 2026
·
Updated

The sort utility in uutils coreutils is vulnerable to a process panic when using the --files0-from option with inputs containing non-UTF-8 filenames. The implementation enforces UTF-8 encoding and utilizes expect(), causing an immediate crash when encountering valid but non-UTF-8 paths. This diverges from GNU sort, which treats filenames as raw bytes. A local attacker can exploit this to crash the utility and disrupt automated pipelines.

Affected Software

4 affected componentsFixes available
ubuntu/rust-coreutils*
ubuntu/rust-coreutils*
ubuntu/rust-coreutils<0.10.0-1ubuntu1
0.10.0-1ubuntu1
ubuntu/rust-coreutils<0.10.0-1ubuntu2~26.04.1
0.10.0-1ubuntu2~26.04.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/rust-coreutils to a version that resolves this vulnerability.

    Fixed in 0.10.0-1ubuntu1
  2. Upgrade

    Upgrade ubuntu/rust-coreutils to a version that resolves this vulnerability.

    Fixed in 0.10.0-1ubuntu2~26.04.1

Event History

Apr 22, 2026
CVE Published
via OSV·05:16 PM
Data Sourced
via OSV·05:16 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using the uutils coreutils implementation of sort are exposed when sort is invoked with --files0-from and the supplied NUL-delimited input includes a filename that is not valid UTF-8. The impact is local disruption of automated pipelines that use this option.

2

What does an attacker need to trigger the crash?

The attacker needs local access sufficient to cause a vulnerable sort invocation to process attacker-controlled input through --files0-from. That input must contain at least one valid filesystem path whose filename has non-UTF-8 bytes.

3

Is the default sort behavior affected?

The provided information identifies the vulnerable path specifically as use of --files0-from. It does not indicate that ordinary sort invocations without this option are affected.

4

How can I determine whether a pipeline is at risk?

Review jobs, scripts, and services that invoke rust-coreutils sort with --files0-from. They are at risk if the NUL-delimited filename source can include non-UTF-8 filenames, particularly from attacker-influenced directories or archives.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203