It was reported that there might be a buffer overflow triggered in sort(1) with data around SIZE_MAX/2. This appears to be related to the new "SIZE_MAX - lenb - 2 < lena" test, which is not specifically associated with use of multibyte characters. Initial report: https://bugzilla.suse.com/show_bug.cgi?id=928749 Fix: https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940 CVE assignment: http://seclists.org/oss-sec/2015/q2/502
Created coreutils tracking bugs for this issue: Affects: fedora-all [bug 1223821]
Mitigation: This flaw is triggered by using sort on specially crafted malicious data file. When using sort with trusted inputs, this flaw cannot be triggered.