Vulnerability Details : CVE-2015-4041
Potential exploit
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 multibyte characters, which allows attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via long UTF-8 strings.
Vulnerability category: OverflowMemory CorruptionDenial of service
Products affected by CVE-2015-4041
- cpe:2.3:a:gnu:coreutils:*:*:*:*:*:*:x64:*
Exploit prediction scoring system (EPSS) score for CVE-2015-4041
0.17%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 35 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2015-4041
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.6
|
MEDIUM | AV:L/AC:L/Au:N/C:P/I:P/A:P |
3.9
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2015-4041
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2015-4041
-
https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940
sort: fix buffer overflow with some case conversions · pixelb/coreutils@bea5e36 · GitHubPatch
-
https://bugzilla.suse.com/show_bug.cgi?id=928749
Bug 928749 – VUL-1: CVE-2015-4041, CVE-2015-4042: coreutils: memory handling error with case insensitive sort using UTF-8Issue Tracking;Third Party Advisory
-
http://openwall.com/lists/oss-security/2015/05/15/1
oss-security - coreutils sort heap overflowExploit;Mailing List;Patch;Third Party Advisory
Jump to