Back

HIGH

coreutils: heap buffer overflow in sort(1) keycompare_mb()

Published Jan 24, 2020

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.

Affected products

Remediation

Red Hat mitigation

This flaw is triggered by using sort on specially crafted malicious data file. When using sort with trusted inputs, this flaw cannot be triggered.

Metrics

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jan 24, 2020
Updated Aug 6, 2024
Reserved May 19, 2015
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Apr 27, 2015