{"api_version":"1","generated_at":"2026-07-23T20:05:58+00:00","cve":"CVE-2015-4041","urls":{"html":"https://cve.report/CVE-2015-4041","api":"https://cve.report/api/cve/CVE-2015-4041.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-4041","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-4041"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2020-01-24 17:15:00","updated_at":"2020-02-01 17:33:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940","name":"https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940","refsource":"MISC","tags":["Patch"],"title":"sort: fix buffer overflow with some case conversions · pixelb/coreutils@bea5e36 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=928749","name":"https://bugzilla.suse.com/show_bug.cgi?id=928749","refsource":"MISC","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug 928749 – VUL-1: CVE-2015-4041, CVE-2015-4042: coreutils: memory handling error with case insensitive sort using UTF-8","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2015/05/15/1","name":"http://openwall.com/lists/oss-security/2015/05/15/1","refsource":"MISC","tags":["Exploit","Mailing List","Patch","Third Party Advisory"],"title":"oss-security - coreutils sort heap overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-4041","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4041","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"4041","vulnerable":"1","versionEndIncluding":"8.23","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnu","cpe5":"coreutils","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"x64","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-4041","STATE":"PUBLIC"},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"references":{"reference_data":[{"refsource":"MISC","name":"http://openwall.com/lists/oss-security/2015/05/15/1","url":"http://openwall.com/lists/oss-security/2015/05/15/1"},{"refsource":"MISC","name":"https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940","url":"https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940"},{"refsource":"MISC","name":"https://bugzilla.suse.com/show_bug.cgi?id=928749","url":"https://bugzilla.suse.com/show_bug.cgi?id=928749"}]}},"nvd":{"publishedDate":"2020-01-24 17:15:00","lastModifiedDate":"2020-02-01 17:33:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.6},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnu:coreutils:*:*:*:*:*:*:x64:*","versionEndIncluding":"8.23","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"4041","Ordinal":"80997","Title":"CVE-2015-4041","CVE":"CVE-2015-4041","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"4041","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2015","CveId":"4041","Ordinal":"2","NoteData":"2020-01-24","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"4041","Ordinal":"3","NoteData":"2020-01-24","Type":"Other","Title":"Modified"}]}}}