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 multibyte characters, which allows attackers to cause a denial of service…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.52%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.52% probability · 43th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- gnu/coreutils
- Source
- cve@mitre.org
References
- http://openwall.com/lists/oss-security/2015/05/15/1Exploit, Mailing List, Patch, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=928749Issue Tracking, Third Party Advisory
- https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940Patch
- http://openwall.com/lists/oss-security/2015/05/15/1Exploit, Mailing List, Patch, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=928749Issue Tracking, Third Party Advisory
- https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.