Severity
7.8HIGH
EPSS
0.1%
top 79.45%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 24
Latest updateMay 24

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 vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages1 packages

NVDgnu/coreutils8.23

Patches

🔴Vulnerability Details

2
GHSA
GHSA-2pj6-g889-m5jr: The keycompare_mb function in sort2022-05-24
CVEList
CVE-2015-4041: The keycompare_mb function in sort2020-01-24

📋Vendor Advisories

2
Red Hat
coreutils: heap buffer overflow in sort(1) keycompare_mb()2015-04-27
Debian
CVE-2015-4041: coreutils - The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64...2015

💬Community

2
Bugzilla
CVE-2015-4041 coreutils: heap buffer overflow in sort(1) keycompare_mb()2015-05-21
Bugzilla
CVE-2015-4042 CVE-2015-4041 coreutils: various flaws [fedora-all]2015-05-21