CVE-2015-4042
CVE-2015-4042 is a critical-severity vulnerability in Gnu Coreutils with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-190.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 2% (81st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-190
- Affected product: Gnu Coreutils
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2015-4042?
- 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.
- How severe is CVE-2015-4042?
- CVE-2015-4042 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2015-4042 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (81st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2015-4042?
- CVE-2015-4042 affects Gnu Coreutils. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2015-4042?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2015-4042 published?
- CVE-2015-4042 was published on 2020-01-24 and last updated on 2026-06-17.
References
- http://openwall.com/lists/oss-security/2015/05/15/1
- https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940
Affected products (1)
- cpe:2.3:a:gnu:coreutils:*:*:*:*:*:*:*:*
More vulnerabilities in Gnu Coreutils
- CVE-2015-4041 — High (CVSS 7.8): The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms performs a size…
- CVE-2014-9471 — High (CVSS 7.5): The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of service (crash) or possibly…
- CVE-2017-18018 — High (CVSS 7.1): In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a…
- CVE-2024-0684 — Medium (CVSS 5.5): A flaw was found in the GNU coreutils "split" program. A heap overflow with user-controlled data of multiple hundred…
- CVE-2015-1865 — Medium (CVSS 5.1): fts.c in coreutils 8.4 allows local users to delete arbitrary files.
- CVE-2016-2781 — Medium (CVSS 4.6): chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted…
All CVEs affecting Gnu Coreutils →
Other CWE-190 (Integer Overflow or Wraparound) vulnerabilities
- CVE-2026-4689 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions, integer overflow in the XPCOM component. This vulnerability was…
- CVE-2026-24814 — Critical (CVSS 10.0): Integer Overflow or Wraparound vulnerability in swoole swoole-src (thirdparty/hiredis modules). This vulnerability is…
- CVE-2025-64721 — Critical (CVSS 10.0): Sandboxie is a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. In versions…
- CVE-2015-5108 — Critical (CVSS 10.0): Integer overflow in Adobe Reader and Acrobat 10.x before 10.1.15 and 11.x before 11.0.12, Acrobat and Acrobat Reader DC…
- CVE-2015-5097 — Critical (CVSS 10.0): Integer overflow in Adobe Reader and Acrobat 10.x before 10.1.15 and 11.x before 11.0.12, Acrobat and Acrobat Reader DC…
- CVE-2013-2555 — Critical (CVSS 10.0): Integer overflow in Adobe Flash Player before 10.3.183.75 and 11.x before 11.7.700.169 on Windows and Mac OS X, before…
Browse all CWE-190 (Integer Overflow or Wraparound) vulnerabilities →