CVE-2015-4042
coreutils: possible buffer overflow in keycompare_mb()
Severity
LowRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · April 27, 2015
Updated · November 22, 2025
Description
Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
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.
CVSS / CWE
CVSS 2.0 · 3.7AV:L/AC:H/Au:N/C:P/I:P/A:P
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer