{"id":"CVE-2015-4041","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms performs a size calculat…","description":"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.","ai_summary":null,"severity":"high","cvss":{"score":7.8,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":7.8,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":4.6,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-787"],"remote":false,"remote_unauth":false,"epss":{"score":0.00518,"percentile":0.45529,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940","kind":"patch"},{"url":"http://openwall.com/lists/oss-security/2015/05/15/1","kind":"exploit"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=928749","kind":"other"}],"workarounds":null,"vendors":["gnu"],"products":["coreutils"],"cpes":["cpe:2.3:a:gnu:coreutils:*:*:*:*:*:*:x64:*"],"published_at":"2020-01-24T16:59:41.000Z","modified_at":"2026-06-17T00:26:40.793Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4041"}],"links":{"html":"https://flawdb.com/CVE-2015-4041","markdown":"https://flawdb.com/CVE-2015-4041.md","json":"https://flawdb.com/api/v1/entries/CVE-2015-4041"}}