What’s Vulnerable › Vulnerabilities
CVE-2015-4041
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-01-24 · updated 2026-06-17
- Weakness: CWE-787
Description
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.
Affected products
- GNU coreutils: through 8.23
References
- http://openwall.com/lists/oss-security/2015/05/15/1
- https://bugzilla.suse.com/show_bug.cgi?id=928749
- https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940
- http://openwall.com/lists/oss-security/2015/05/15/1
- https://bugzilla.suse.com/show_bug.cgi?id=928749
- https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940
Get alerted when CVE-2015-4041 or the next vulnerability affects your stack