CVE-2015-4041
mediumpriority · track · 31EPSS 0.005 · 43 %ileEUUSEPSS · scored 2026-10-23
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.6–7.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- http://openwall.com/lists/oss-security/2015/05/15/1cnnvd
- http://www.gnu.org/software/coreutils/coreutils.htmlPatchcnnvd
- https://bugzilla.suse.com/show_bug.cgi?id=928749cnnvd
- https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2015-4041cnnvd
- http://openwall.com/lists/oss-security/2015/05/15/1enisa_euvd
- https://bugzilla.suse.com/show_bug.cgi?id=928749enisa_euvd
- https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan