Every CVE Search/ Get API key

CVE-2015-4042

Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23...

9.8 Critical

Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.30%Up 1.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.

Record
CVE-2015-4042
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.

Record
CVE-2015-4042
Updated
2026-11-02
EUVDEUVD-2015-4070 No score

Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.

Record
EUVD-2015-4070
Updated
2026-11-03
GitHub AdvisoriesGHSA-9qcx-32pg-7pqp 9.8

Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23...

Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.

Record
GHSA-9qcx-32pg-7pqp
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-190
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-4042 is a critical vulnerability (CVSS 9.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 2.30%, the 83rd percentile. No source names a fixed version.

References

Show 14 moreShow less
MoveEnter Open