CVE-2025-5278
MEDIUMA 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...
Full CISO analysis pending enrichment.
What systems are affected?
How severe is it?
What is the attack surface?
What should I do?
No patch available
Monitor for updates. Consider compensating controls or temporary mitigations.
Which compliance frameworks are affected?
Compliance analysis pending. Sign in for full compliance mapping when available.
Frequently Asked Questions
What is CVE-2025-5278?
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.
Is CVE-2025-5278 actively exploited?
No confirmed active exploitation of CVE-2025-5278 has been reported, but organizations should still patch proactively.
How to fix CVE-2025-5278?
No patch is currently available. Monitor vendor advisories for updates.
What is the CVSS score for CVE-2025-5278?
CVE-2025-5278 has a CVSS v3.1 base score of 4.4 (MEDIUM).
What are the technical details?
Original Advisory
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.
Weaknesses (CWE)
CWE-121 — Stack-based Buffer Overflow: The product writes past the end of a buffer that was allocated on the stack.
- [Operation, Build and Compilation] Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND [REF-1334] discusses canary-based detection in detail.
- [Architecture and Design] Use an abstraction library to abstract away risky APIs. Not a complete solution.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:LReferences
- access.redhat.com/errata/RHSA-2026:28911vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:33124vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:33313vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:33612vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:34102vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:39981vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:44481vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:46836vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:50205vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:58981vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:69964vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:72502vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:82304vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:82322vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:82347vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:82354vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:82372vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:82857vendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:82888vendor-advisoryx_refsource_REDHAT
- access.redhat.com/security/cve/CVE-2025-5278vdb-entryx_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgiissue-trackingx_refsource_REDHAT
- cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/
- debbugs.gnu.org/cgi/bugreport.cgi
Timeline
Related Vulnerabilities
CVE-2026-748608.5libxml2: DTD double-free crashes Python SAX apps
Same package: llama-stackCVE-2026-488647.8Analysis pending
Same package: llama-stackCVE-2026-856667.5OGX/Llama Stack: SSRF via MCP tool server_url
Same package: llama-stackCVE-2026-580167.5GLib: malformed D-Bus XML integer overflow causes DoS
Same package: llama-stackCVE-2026-137576.2Analysis pending
Same package: llama-stack