CVE-2025-5278
Coreutils: heap buffer under-read in gnu coreutils sort via key specification
- State
- Published
- Severity
- 4.4 Medium
- Published
- May 27, 2025
- Updated
- Oct 31, 2026
- Reserved
- May 27, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.4 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L | redhat |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
coreutils |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.17Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.17Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.17Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.17Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.20Red Hat |
|
Cost Management 4Red Hat |
|
Red Hat Discovery 2Red Hat |
|
Red Hat Discovery 2Red Hat |
|
Red Hat Insights proxy 1.5Red Hat |
|
Red Hat OpenShift distributed tracing 3.10.1Red Hat |
|
Red Hat OpenShift distributed tracing 3.10.1Red Hat |
|
Red Hat OpenShift distributed tracing 3.10.1Red Hat |
|
Red Hat OpenShift distributed tracing 3.10.1Red Hat |
|
Red Hat OpenShift distributed tracing 3.10.1Red Hat |
|
Red Hat OpenShift distributed tracing 3.10.1Red Hat |
|
Red Hat OpenShift distributed tracing 3.10.1Red Hat |
|
Red Hat OpenShift distributed tracing 3.10.1Red Hat |
|
Red Hat OpenShift distributed tracing 3.10.1Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 7Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHSA-2026:28911vendor-advisory
- RHSA-2026:33124vendor-advisory
- RHSA-2026:33313vendor-advisory
- RHSA-2026:33612vendor-advisory
- RHSA-2026:34102vendor-advisory
- RHSA-2026:39981vendor-advisory
- RHSA-2026:44481vendor-advisory
- RHSA-2026:46836vendor-advisory
- RHSA-2026:50205vendor-advisory
- RHSA-2026:58981vendor-advisory
- RHSA-2026:69964vendor-advisory
- RHSA-2026:72502vendor-advisory
- RHSA-2026:82304vendor-advisory
- RHSA-2026:82322vendor-advisory
- RHSA-2026:82347vendor-advisory
- RHSA-2026:82354vendor-advisory
- RHSA-2026:82372vendor-advisory
- RHSA-2026:82857vendor-advisory
- RHSA-2026:82888vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-5278vdb-entry
- RHBZ#2368764issue-tracking
- https://cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/?id=8c9602e3a145e9596dc1a63c6ed67865814b6633
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78507
- http://www.openwall.com/lists/oss-security/2025/05/27/2
- http://www.openwall.com/lists/oss-security/2025/05/29/1
- https://security-tracker.debian.org/tracker/CVE-2025-5278
- https://cgit.git.savannah.gnu.org/cgit/coreutils.git/tree/NEWS?id=8c9602e3a145e9596dc1a63c6ed67865814b6633#n14
- http://www.openwall.com/lists/oss-security/2025/05/29/2
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.