CVE-2025-5278
Coreutils: heap buffer under-read in gnu coreutils sort via key specification
No exploitation reported by the sources we read.
- Published2025-05-27
- WeaknessCWE-121
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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
dates in UTC- 2025-05-2720:52CVE publishedCNA
Versions per branch
Products declared by the CNA40 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- coreutilsother versions: not affected
https://cgit.git.savannah.gnu.org/cgit/coreutils.git/
Affected- ≥ 7.2, < 9.8fixed in 9.8semver
- Red Hat Enterprise Linux 10other versions: affected
package coreutilshttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:9.5-8.el10_2
- Red Hat Enterprise Linux 8other versions: affected
package coreutilshttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:8.30-21.el8_10
- Red Hat Enterprise Linux 9other versions: affected
package coreutilshttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:8.32-41.el9_8
- Red Hat Cert Manager support for Red Hat OpenShift release 1.17other versions: affected
package cert-manager/jetstack-cert-manager-acmesolver-rhel9https://catalog.redhat.com/software/containers/
Not affected ≥ 1791371080
- Red Hat Cert Manager support for Red Hat OpenShift release 1.17other versions: affected
package cert-manager/jetstack-cert-manager-rhel9https://catalog.redhat.com/software/containers/
Not affected ≥ 1791371069
34 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-06
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- coreutilsUbuntu:26.04:LTSall versions · fixed in 9.7-3ubuntu2.1
- coreutilsUbuntu:25.10all versions · no fixed version listed
- coreutilsUbuntu:24.04:LTSall versions · fixed in 9.4-3ubuntu6.3
- coreutilsUbuntu:22.04:LTSall versions · fixed in 8.32-4.1ubuntu1.4
- coreutilsUbuntu:20.04:LTSall versions · no fixed version listed
- coreutilsUbuntu:18.04:LTSall versions · no fixed version listed
- coreutilsUbuntu:16.04:LTSall versions · no fixed version listed
- coreutilsUbuntu:14.04:LTSall versions · no fixed version listed
57 more package ranges on OSV.dev
Vendor advisories
coreutils: Heap Buffer Under-Read in GNU Coreutils sort via Key Specification
coreutils as a component of Red Hat Enterprise Linux 6 · coreutils-libs as a component of Red Hat Enterprise Linux 6 · coreutils.src as a component of Red Hat Enterprise Linux 6 · +3 more
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.17.2
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2
14 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2026:82888 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. The steps to apply the upgraded images are different depending on the installation plan approval policy you used when installing the cert-manager Operator for Red Hat OpenShift. - If t…
- Vendor fix Red Hat Product Security RHSA-2026:69964 · 21 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:58981 · 3 productsPlease consult the RHUI Technology Preview Release Notes at https://access.redhat.com/articles/7141172 for instructions on how to use this image set.
- Vendor fix Red Hat Product Security RHSA-2026:50205 · 8 productsFor details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html/operators/administrator-tasks#olm-upgrading-operators
- Vendor fix Red Hat Product Security RHSA-2026:46836 · 2 productsThe containers required to run Discovery can be installed through discovery-installer RPM. See the official documentation for more details.
- Vendor fix Red Hat Product Security RHSA-2026:44481 · 5 productsThe container images provided by this release, apart from the installer, should be deployed using rhui-installer utility. See the official documentation for more details.
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-06
- CISA-ADPSSVC decisionnone2025-05-28
- CNACVSS 3.14.42026-11-06
- CNAweakness (CWE)CWE-1212026-11-06
- FIRST EPSSEPSS score0.3 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-93060same flawAzure Linux · MIT
- EUVD-2025-16308same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-ch64-4x3c-w3jqsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2026:28911advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:33124advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:69964advisory covering several CVEsAlmaLinux · MIT
- MGASA-2025-0172advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1637advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15327-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2026:28911advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:33124advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:69964advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2026:28911advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2026:33124advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2026:69964advisory covering several CVEsRocky Linux · CC-BY-4.0
- SUSE-SU-2025:02353-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:02354-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:02362-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20523-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20660-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-8697-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- Published
- 2025-05-27
- Last Modified
- 2026-11-06
- NVD status
- Deferred
- GitHub Advisory
- GHSA-ch64-4x3c-w3jq
Frequently asked questions
What is CVE-2025-5278?
Is CVE-2025-5278 actively exploited?
What is the CVSS score for CVE-2025-5278?
Running coreutils? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2016-2781same product
- CVE-2026-56391same productOut‑of‑bounds Read in GNU coreutils
- CVE-2025-15467same advisory
- CVE-2025-11187same advisory
- CVE-2026-45447same advisoryHeap Use-After-Free in the PKCS7_verify() Function
- CVE-2025-61726same advisory
- CVE-2026-33845same advisory
- CVE-2024-34459same advisorylibxml2: buffer over-read in xmlHTMLPrintFileContext in xmllint.c
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-ch64-4x3c-w3jq
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0