Home / Gnu / Coreutils / CVE-2015-4041
CVE-2015-4041: is it exploited, and which versions of Gnu Coreutils are affected and fixed?
CVE-2015-4041 is an out-of-bounds write (memory corruption) vulnerability in Gnu Coreutils. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: coreutils through 8.23 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:16 UTC.
What is CVE-2015-4041?
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.
From the CVE record by mitre, last updated August 6, 2024, 06:04 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gnu | coreutils | through 8.23 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:26 UTC.
How severe is CVE-2015-4041?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-4041 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.52% probability of exploitation activity in the next 30 days, percentile 45.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- http://openwall.com/lists/oss-security/2015/05/15/1 x_refsource_MISC
- https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940 x_refsource_MISC
- https://bugzilla.suse.com/show_bug.cgi?id=928749 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 19, 2015
- Published
- January 24, 2020, 16:59 UTC
- CVE record updated
- August 6, 2024, 06:04 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:26 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:16 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Coreutils?
- Jul 24, 2026CVE-2026-56392 GNU coreutils: heap buffer overflow
- Jul 24, 2026CVE-2026-56391 GNU coreutils: out-of-bounds read
- Feb 6, 2024CVE-2024-0684 Gnu Coreutils: heap buffer overflow
- Jan 24, 2020CVE-2015-4042 Gnu Coreutils: integer overflow
- Jan 4, 2018CVE-2017-18018 Gnu Coreutils: race condition
- Sep 20, 2017CVE-2015-1865 Gnu Coreutils: race condition
- Feb 7, 2017CVE-2016-2781 Gnu Coreutils: improper input validation
- Jan 16, 2015CVE-2014-9471 Gnu Coreutils: n/a
Questions about CVE-2015-4041
Is CVE-2015-4041 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 0.52% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Gnu Coreutils are affected by CVE-2015-4041?
coreutils through 8.23, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2015-4041?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2015-4041?
High (7.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-4041?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.