CVE-2025-5278

Executive Summary

CVE-2025-5278 exposes a heap buffer under-read in GNU Coreutils' sort utility via the begfield() function when processing crafted key format inputs. An attacker can trigger a crash or leak sensitive data by executing a malicious sort command. The vulnerability is not yet listed in CISA KEV, but mitigations include updating to patched Coreutils or sanitizing input.


Authoritative CVE Metadata

  • CVSS Base Score: 4.4 (MEDIUM)
  • Last Modified: 29-09-26

Original Description

A flaw was found in GNU Coreutils. The sort utility's begfield() function is vulnerable to a heap buffer under-read. The program may access memory outside the allocated buffer if a user runs a crafted command using the traditional key format. A malicious input could lead to a crash or leak sensitive data.