Description (CNA)
A logic error in the split utility of uutils coreutils causes the corruption of output filenames when provided with non-UTF-8 prefix or suffix inputs. The implementation utilizes to_string_lossy() when constructing chunk filenames, which automatically rewrites invalid byte sequences into the UTF-8 replacement character (U+FFFD). This behavior diverges from GNU split, which preserves raw pathname bytes intact. In environments utilizing non-UTF-8 encodings, this vulnerability leads to the creation of files with incorrect names, potentially causing filename collisions, broken automation, or the misdirection of output data.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Uutils / coreutils | affected 0 before 0.8.0 |
CWE
CWE-176
References
- https://github.com/uutils/coreutils/pull/11397
- https://github.com/uutils/coreutils/releases/tag/0.8.0
ADP enrichment
No English description supplied.
No references supplied.