Vulnerabilities / CVE-2015-4042

critical

CVE-2015-4042

coreutils: possible buffer overflow in keycompare_mb()

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat3.7AV:L/AC:H/Au:N/C:P/I:P/A:P

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (low).

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 2.0coreutils8.27-3.ph2
Photon OS 3.0coreutils8.30-1.ph3
Red Hatcoreutils, coreutils-libsno fix listed
Show all 4 entries from 3 sources
SourcePackageFixed in
Photon OS 2.0coreutils8.27-3.ph2
Photon OS 3.0coreutils8.30-1.ph3
Red Hatcoreutilsno fix listed
Red Hatcoreutils-libsno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.