Read the docs
TI-2015-03408 Aliases CVE-2015-4041GHSA-2pj6-g889-m5jr

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

Priority LOW 35CWE-787Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.00518 44th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gnu:coreutils:*:*:*:*:*:*:x64:*up to 8.23VulnerableGNU
  • cpe:2.3:a:gnu:coreutils:*:*:*:*:*:*:x64:* Versions up to 8.23 Vulnerable ·GNU

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix yet
Red Hat Enterprise Linux 7AffectedNo fix yet
Not affected: 1 product
  • Red Hat Enterprise Linux 5

Timeline

  1. 2026-10-02 Threatist record created from CVE-2015-4041
  2. 2026-10-03 Alias added: GHSA-2pj6-g889-m5jr

References

  • TI-2017-13227 In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent… CVSS 3.1HIGH 7.1
  • TI-2015-01675 fts.c in coreutils 8.4 allows local users to delete arbitrary files. CVSS 3.1MEDIUM 5.1
  • TI-2015-03409 Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through… CVSS 3.1CRITICAL 9.8
  • TI-2014-07697 The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of… CVSS 2.0HIGH 7.5
  • TI-2024-00631 Coreutils: heap overflow in split --line-bytes with very long lines CVSS 3.1MEDIUM 5.5
  • TI-2016-02323 chroot in GNU coreutils, when used with --userspec, allows local users to escape to the… CVSS 3.1MEDIUM 4.6
See all 11 →

Sources