7.8
CWE
787 119
Advisory Published
Updated

CVE-2015-4041: Buffer Overflow

First published: Fri Jan 24 2020(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
GNU Coreutils<=8.23

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2015-4041?

    CVE-2015-4041 is classified as a medium severity vulnerability that can lead to a denial of service through a heap-based buffer overflow.

  • How do I fix CVE-2015-4041?

    To remediate CVE-2015-4041, upgrade GNU Coreutils to version 8.24 or later, which contains the necessary security patches.

  • What software is affected by CVE-2015-4041?

    CVE-2015-4041 affects GNU Coreutils versions up to and including 8.23 on 64-bit platforms.

  • What are the consequences of exploiting CVE-2015-4041?

    Exploiting CVE-2015-4041 can result in a denial of service due to application crashes caused by heap-based buffer overflow.

  • What is the root cause of CVE-2015-4041?

    The root cause of CVE-2015-4041 is a size calculation issue in the keycompare_mb function that fails to consider the byte size of multibyte characters.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203