Critical severity · published Jan 24, 2020
CVE-2015-4042
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…
9.8
CVSS
2.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.3% · higher than 83% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
Coreutils · Gnu
through 8.23 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-4042
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-4042
Exploit
http://openwall.com/lists/oss-security/2015/05/15/1
Patch
https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940
More from Coreutils
7.8
CVE-2015-4041
The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms performs a size calculation without considering the number of bytes occupied by…
7.1
CVE-2017-18018
In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX "-R -L" options, which allows…
6.1
CVE-2026-56392
Heap-based Buffer Overflow in GNU coreutils
6.1
CVE-2026-56391
Out‑of‑bounds Read in GNU coreutils
5.5
CVE-2024-0684
Coreutils: heap overflow in split --line-bytes with very long lines
