CVE-2025-5278Coreutils: heap buffer under-read in gnu coreutils sort via key specification
- 4.4MediumCVSS base score
- 0.31%Exploitation in 30 daysEPSS · top 76% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
Published
- 18 months later
· 18 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
| NVDNVD · Deferred | 3.1 | Medium4.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
- EPSS (exploitation in 30 days)
- 0.31% · top 76% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.4.
Affected products
coreutils
- affected 7.2 – < 9.8
Red Hat · Red Hat Enterprise Linux 10
- unaffected 0:9.5-8.el10_2 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:8.30-21.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:8.32-41.el9_8 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.17
- unaffected 1791371080 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.17
- unaffected 1791371069 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.17
- unaffected 1791788287 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.17
- unaffected 1791970484 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.18
- unaffected 1791459707 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.18
- unaffected 1791459711 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.18
- unaffected 1791459759 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.18
- unaffected 1789029076 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.18
- unaffected 1791966259 – < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.20
- unaffected 1790598593 – < *
- unaffected 1783539156 – < *
- unaffected 1782756541 – < *
- unaffected 1784821670 – < *
Red Hat · Red Hat Insights proxy 1.5
- unaffected 1782890503 – < *
Red Hat · Red Hat OpenShift distributed tracing 3.10.1
- unaffected 1782501180 – < *
Red Hat · Red Hat OpenShift distributed tracing 3.10.1
- unaffected 1782501200 – < *
Red Hat · Red Hat OpenShift distributed tracing 3.10.1
- unaffected 1782498923 – < *
Red Hat · Red Hat OpenShift distributed tracing 3.10.1
- unaffected 1782510941 – < *
Red Hat · Red Hat OpenShift distributed tracing 3.10.1
- unaffected 1782501220 – < *
Red Hat · Red Hat OpenShift distributed tracing 3.10.1
- unaffected 1782501196 – < *
Red Hat · Red Hat OpenShift distributed tracing 3.10.1
- unaffected 1782501195 – < *
Red Hat · Red Hat OpenShift distributed tracing 3.10.1
- unaffected 1785704636 – < *
Red Hat · Red Hat OpenShift distributed tracing 3.10.1
- unaffected 1785704547 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1784794818 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1784794778 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1784795112 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1784794289 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1784795076 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1787241211 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1787135742 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1787241260 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 7
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
What to do
Workaround: 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.
References
References28
- RHSA-2026:28911 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:33124 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:33313 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:33612 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:34102 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:39981 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:44481 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:46836 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:50205 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:58981 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:69964 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:72502 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82304 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82322 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82347 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82354 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82372 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82857 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82888 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-5278 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2368764 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/?id=8c9602e3a145e9596dc1a63c6ed67865814b6633 (opens in a new tab)
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78507 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/05/27/2 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/05/29/1 (opens in a new tab)
- https://security-tracker.debian.org/tracker/CVE-2025-5278 (opens in a new tab)
- https://cgit.git.savannah.gnu.org/cgit/coreutils.git/tree/NEWS?id=8c9602e3a145e9596dc1a63c6ed67865814b6633#n14 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/05/29/2 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-16308 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-5278)Record last updated .