CVE-2015-4041
publishedcoreutils: heap buffer overflow in sort(1) keycompare_mb()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | SLE-12 | coreutilsppc64le | Advisory build | 8.22-9.1 | SUSE-SU-2015:1637-1 |
| SUSE / openSUSE | SLE-12 | coreutilss390x | Advisory build | 8.22-9.1 | SUSE-SU-2015:1637-1 |
| SUSE / openSUSE | SLE-12 | coreutilsx86_64 | Advisory build | 8.22-9.1 | SUSE-SU-2015:1637-1 |
| SUSE / openSUSE | SLE-12 | coreutils-langnoarch | Advisory build | 8.22-9.1 | SUSE-SU-2015:1637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutilsaarch64 | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutilsppc64le | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutilss390x | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutilsx86_64 | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutils-langaarch64 | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutils-langppc64le | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutils-langs390x | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutils-langx86_64 | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutils-testsuiteaarch64 | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutils-testsuiteppc64le | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutils-testsuites390x | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coreutils-testsuitex86_64 | Advisory build | 8.26-1.1 | OPENSUSE-SU-2024:10390-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d3a81cd4518911f402c6ae2d4c604c45a093d35d4d256f47d2323f583831ffe3
- Ingested
- 23 Sep 2026, 07:40:37 UTC
- Source record
- Official CVE record