Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
coreutils (PTS) | jessie | 8.23-4 | fixed |
| stretch | 8.26-3 | fixed |
| buster | 8.30-3 | fixed |
| bullseye | 8.32-4 | fixed |
| bookworm | 9.1-1 | fixed |
| sid, trixie | 9.5-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
coreutils | source | (unstable) | (not affected) | | | |
Notes
- coreutils <not-affected> (Debian does not apply coreutils-i18n.patch)
https://bugzilla.suse.com/show_bug.cgi?id=928749
https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940
http://pkgs.fedoraproject.org/cgit/coreutils.git/plain/coreutils-i18n.patch