{"id":"CVE-2015-4041","aliases":["EUVD-2015-4069","GHSA-2pj6-g889-m5jr","MGASA-2015-0259","SUSE-SU-2015:1637-1","openSUSE-SU-2024:10390-1"],"status":"published","title":"The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms...","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00518,"percentile":0.44314,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2015-07-05T17:22:03Z","modified":"2026-06-17T00:26:40Z","affected":[{"source":"osv","ecosystem":"Mageia:4","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.21-6.2.mga4"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.22-9.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.22-9.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.22-9.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.26-1.1"}]}],"bundled":5}],"products":[{"vendor":"gnu","product":"coreutils"}],"references":[{"url":"http://openwall.com/lists/oss-security/2015/05/15/1","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Patch","Third Party Advisory"]},{"url":"https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940","tags":["x_refsource_MISC","x_transferred","Patch"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=928749","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4041"},{"url":"https://github.com/advisories/GHSA-2pj6-g889-m5jr"},{"url":"https://advisories.mageia.org/MGASA-2015-0259.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=16120","tags":["report"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-06/msg00030.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2015/suse-su-20151637-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/866010","tags":["report"]},{"url":"https://bugzilla.suse.com/901905","tags":["report"]},{"url":"https://bugzilla.suse.com/907290","tags":["report"]},{"url":"https://bugzilla.suse.com/921559","tags":["report"]},{"url":"https://bugzilla.suse.com/928749","tags":["report"]},{"url":"https://bugzilla.suse.com/930565","tags":["report"]},{"url":"https://bugzilla.suse.com/933396","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-4041","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-4042","tags":["web"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2013-0221","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-0222","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-0223","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2015-4041","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.","status":"published","published":"2020-01-24T16:59:41Z","modified":"2024-08-06T06:04:02.694Z","updated_at":"2026-11-02T14:35:43.322279Z"}],"euvd":[{"id":"EUVD-2015-4069","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.","status":"published","published":"2020-01-24T16:59:41Z","modified":"2024-08-06T06:04:02Z","updated_at":"2026-11-03T02:22:05.665475Z"}],"ghsa":[{"id":"GHSA-2pj6-g889-m5jr","title":"The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms...","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.","status":"published","published":"2022-05-24T17:07:16Z","modified":"2024-04-04T02:46:52Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:56:11.559223Z"}],"nvd":[{"id":"CVE-2015-4041","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.","status":"published","published":"2020-01-24T17:15:12.5Z","modified":"2026-06-17T00:26:40.793Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:03:19.73542Z"}],"osv":[{"id":"MGASA-2015-0259","title":"Updated coreutils package fixes security vulnerability","description":"Buffer overflows in sort related to the usage of UTF-8 characters\n(CVE-2015-4041, CVE-2015-4042)\n","status":"published","published":"2015-07-05T17:22:03Z","modified":"2026-04-16T06:25:50.273734056Z","updated_at":"2026-11-02T15:49:39.792687Z"},{"id":"openSUSE-SU-2024:10390-1","title":"coreutils-8.26-1.1 on GA media","description":"These are all security issues fixed in the coreutils-8.26-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:31:52.914085Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"SUSE-SU-2015:1637-1","title":"Security update for coreutils","description":"This update for coreutils provides the following fixes:\n\n- Fix memory handling error with case insensitive sort using UTF-8.\n  (CVE-2015-4041, CVE-2015-4042)\n- Ensure 'df -a' shows all remote file system entries.\n- Only suppress remote mounts of separate exports with 'df --total'.\n- Document that 'df -a' might list duplicated file systems.\n- Adjust references to info nodes in man pages.\n","status":"published","published":"2015-09-14T17:05:48Z","modified":"2026-02-04T02:43:23.461434Z","updated_at":"2026-11-02T15:53:43.030986Z"}]}}
