CVE-2025-5278
Public on
Last Modified:
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.
Statement
The severity of this issue is considered Moderate rather than Critical because successful exploitation requires the use of the traditional key specification syntax with an exceptionally large character position value, which is uncommon in typical usage. Although the vulnerability can lead to a heap buffer overflow resulting in a read one byte before the allocated buffer, it does not enable code execution, privilege escalation, or direct compromise of data confidentiality or integrity. The impact is therefore primarily limited to potential service disruption due to application crashes.
Furthermore, default RHEL configurations such as SELinux enforcement, ASLR, and memory protections reduce the likelihood of exploitation and limit the scope of any resulting impact. These safeguards, along with typical system usage patterns that do not commonly invoke the vulnerable code path, restrict exploitability in default and hardened environments. Consequently, the vulnerability’s overall security impact is mitigated compared to flaws that allow immediate code execution or broader compromise across system components.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Additional information
- This content is not included.Bugzilla 2368764: coreutils: Heap Buffer Under-Read in GNU Coreutils sort via Key Specification
- Content from cwe.mitre.org is not included.CWE-121: Stack-based Buffer Overflow
Affected Packages and Issued Red Hat Security Errata
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Cost Management Metrics Operator 4 | costmanagement/costmanagement-metrics-rhel9-operator | Fixed | RHSA-2026:39981 |
| Red Hat Discovery 2 | discovery/discovery-ui-rhel9 | Fixed | RHSA-2026:33313 |
| Red Hat Enterprise Linux 10 | coreutils | Fixed | RHSA-2026:33124 |
| Red Hat Enterprise Linux 6 | coreutils | Out of support scope | |
| Red Hat Enterprise Linux 7 | coreutils | Out of support scope | |
| Red Hat Enterprise Linux 8 | coreutils | Fix deferred | |
| Red Hat Enterprise Linux 9 | coreutils | Fixed | RHSA-2026:28911 |
| Red Hat Insights proxy 1.5 | insights-proxy/insights-proxy-container-rhel9 | Fixed | RHSA-2026:34102 |
| Red Hat OpenShift Container Platform 4 | rhcos | Fix deferred | |
| Red Hat OpenShift distributed tracing 3.10.0 | rhosdt/tempo-gateway-opa-rhel9 | Fixed | RHSA-2026:33612 |
| Red Hat OpenShift distributed tracing 3.10.0 | rhosdt/tempo-gateway-rhel9 | Fixed | RHSA-2026:33612 |
| Red Hat OpenShift distributed tracing 3.10.0 | rhosdt/tempo-jaeger-query-rhel9 | Fixed | RHSA-2026:33612 |
| Red Hat OpenShift distributed tracing 3.10.0 | rhosdt/tempo-operator-bundle | Fixed | RHSA-2026:33612 |
| Red Hat OpenShift distributed tracing 3.10.0 | rhosdt/tempo-query-rhel9 | Fixed | RHSA-2026:33612 |
| Red Hat OpenShift distributed tracing 3.10.0 | rhosdt/tempo-rhel9 | Fixed | RHSA-2026:33612 |
| Red Hat OpenShift distributed tracing 3.10.0 | rhosdt/tempo-rhel9-operator | Fixed | RHSA-2026:33612 |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| CVSS v3 Base Score | 4.4 | N/A | 4.4 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | Required | N/A | Required |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality Impact | Low | N/A | Low |
| Integrity Impact | None | N/A | None |
| Availability Impact | Low | N/A | Low |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
cve.org CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Acknowledgements
Red Hat would like to thank Mohamed Maatallah for reporting this issue.
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.