CVE-2025-5278Stack-based Buffer Overflow in Coreutils

Severity
4.4MEDIUMNVD
EPSS
0.1%
top 67.60%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 27

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:LExploitability: 1.8 | Impact: 2.5

🔴Vulnerability Details

2
OSV
CVE-2025-5278: A flaw was found in GNU Coreutils2025-05-27
GHSA
GHSA-ch64-4x3c-w3jq: A flaw was found in GNU Coreutils2025-05-27

📋Vendor Advisories

3
Red Hat
coreutils: Heap Buffer Under-Read in GNU Coreutils sort via Key Specification2025-05-27
Debian
CVE-2025-5278: coreutils - A flaw was found in GNU Coreutils. The sort utility's begfield() function is vul...2025
Microsoft
A vulnerability exists in Docker before 1.2 via container names which may collide with and override container IDs.2020-02-11