CVE-2026-35348: CWE-248: Uncaught Exception in Uutils coreutils
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.
AI Analysis
Technical Summary
The uutils coreutils sort utility has a vulnerability (CVE-2026-35348) related to improper handling of non-UTF-8 filenames when using the --files0-from option. The implementation expects UTF-8 encoded input and uses expect() calls that cause an immediate crash if a filename is valid but not UTF-8 encoded. This behavior differs from GNU sort, which treats filenames as raw bytes and does not crash. The vulnerability allows a local attacker with limited privileges to cause a denial of service by crashing the sort utility, potentially disrupting automated pipelines relying on it.
Potential Impact
This vulnerability results in a denial of service (process crash) when the sort utility encounters non-UTF-8 filenames with the --files0-from option. There is no impact on confidentiality or integrity, only availability is affected. The attacker must have local access and the ability to supply crafted input filenames. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using the --files0-from option with inputs that may contain non-UTF-8 filenames in uutils coreutils sort. Consider using GNU sort as an alternative if non-UTF-8 filenames are expected.
CVE-2026-35348: CWE-248: Uncaught Exception in Uutils coreutils
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The uutils coreutils sort utility has a vulnerability (CVE-2026-35348) related to improper handling of non-UTF-8 filenames when using the --files0-from option. The implementation expects UTF-8 encoded input and uses expect() calls that cause an immediate crash if a filename is valid but not UTF-8 encoded. This behavior differs from GNU sort, which treats filenames as raw bytes and does not crash. The vulnerability allows a local attacker with limited privileges to cause a denial of service by crashing the sort utility, potentially disrupting automated pipelines relying on it.
Potential Impact
This vulnerability results in a denial of service (process crash) when the sort utility encounters non-UTF-8 filenames with the --files0-from option. There is no impact on confidentiality or integrity, only availability is affected. The attacker must have local access and the ability to supply crafted input filenames. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using the --files0-from option with inputs that may contain non-UTF-8 filenames in uutils coreutils sort. Consider using GNU sort as an alternative if non-UTF-8 filenames are expected.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.087Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7d019fe3cd2cdd00c63
Added to database: 4/22/2026, 4:31:12 PM
Last enriched: 4/22/2026, 5:02:33 PM
Last updated: 4/23/2026, 2:29:52 AM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.