{"id":"CVE-2015-4042","aliases":["EUVD-2015-4070","GHSA-9qcx-32pg-7pqp","MGASA-2015-0259","SUSE-SU-2015:1637-1","openSUSE-SU-2024:10390-1"],"status":"published","title":"Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23...","description":"Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02304,"percentile":0.83438,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-190"],"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","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4042"},{"url":"https://github.com/advisories/GHSA-9qcx-32pg-7pqp"},{"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-4042","description":"Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.","status":"published","published":"2020-01-24T16:59:45Z","modified":"2024-08-06T06:04:02.84Z","updated_at":"2026-11-02T14:35:43.322279Z"}],"euvd":[{"id":"EUVD-2015-4070","description":"Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.","status":"published","published":"2020-01-24T16:59:45Z","modified":"2024-08-06T06:04:02Z","updated_at":"2026-11-03T02:22:05.665475Z"}],"ghsa":[{"id":"GHSA-9qcx-32pg-7pqp","title":"Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23...","description":"Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.","status":"published","published":"2022-05-24T17:07:16Z","modified":"2024-04-04T02:46:51Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:56:11.559223Z"}],"nvd":[{"id":"CVE-2015-4042","description":"Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.","status":"published","published":"2020-01-24T17:15:12.577Z","modified":"2026-06-17T00:26:40.91Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-190"],"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"}]}}
