Every CVE Search/ Get API key

CVE-2015-4041

The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms...

7.8 High

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.52%Down 0.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2015-4041
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2015-4041
Updated
2026-11-02
EUVDEUVD-2015-4069 No score

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.

Record
EUVD-2015-4069
Updated
2026-11-03
GitHub AdvisoriesGHSA-2pj6-g889-m5jr 7.8

The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms...

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.

Record
GHSA-2pj6-g889-m5jr
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVMGASA-2015-0259 No score

Updated coreutils package fixes security vulnerability

Buffer overflows in sort related to the usage of UTF-8 characters (CVE-2015-4041, CVE-2015-4042)

Record
MGASA-2015-0259
Updated
2026-11-02
OSVopenSUSE-SU-2024:10390-1 No score

coreutils-8.26-1.1 on GA media

These are all security issues fixed in the coreutils-8.26-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10390-1
Updated
2026-11-02
OSVSUSE-SU-2015:1637-1 No score

Security update for coreutils

This update for coreutils provides the following fixes:

  • Fix memory handling error with case insensitive sort using UTF-8. (CVE-2015-4041, CVE-2015-4042)
  • Ensure 'df -a' shows all remote file system entries.
  • Only suppress remote mounts of separate exports with 'df --total'.
  • Document that 'df -a' might list duplicated file systems.
  • Adjust references to info nodes in man pages.
Record
SUSE-SU-2015:1637-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
coreutils
Mageia:4
From an advisory covering 2 CVEs
before 8.21-6.2.mga4
8.21-6.2.mga4
coreutils
SUSE:Linux Enterprise Desktop 12
From an advisory covering 2 CVEs
before 8.22-9.1
8.22-9.1
coreutils
SUSE:Linux Enterprise Server 12
From an advisory covering 2 CVEs
before 8.22-9.1
8.22-9.1
coreutils
SUSE:Linux Enterprise Server for SAP Applications 12
From an advisory covering 2 CVEs
before 8.22-9.1
8.22-9.1
coreutils
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 8.26-1.1
8.26-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2015-4041 is a high vulnerability (CVSS 7.8) in Gnu Coreutils, published July 5, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.52%, the 44th percentile. No source names a fixed version.

References

Show 15 moreShow less
MoveEnter Open