# CVE-2025-5278: Coreutils: heap buffer under-read in gnu coreutils sort via key specification

- Severity: Medium 4.4 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-05-27T20:52:58.545Z
- Modified: 2026-11-06T08:17:16.323Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- coreutils: from 7.2 before 9.8 (not affected: from 0:9.5-8.el10_2 before *; from 0:8.30-21.el8_10 before *; from 0:8.32-41.el9_8 before *)
- cert-manager/jetstack-cert-manager-acmesolver-rhel9: no versions given (not affected: from 1791371080 before *; from 1791459707 before *)
- cert-manager/jetstack-cert-manager-rhel9: no versions given (not affected: from 1791371069 before *; from 1791459711 before *)
- cert-manager/cert-manager-operator-rhel9: no versions given (not affected: from 1791788287 before *; from 1789029076 before *)
- cert-manager/cert-manager-operator-bundle: no versions given (not affected: from 1791970484 before *; from 1791966259 before *)
- cert-manager/cert-manager-istio-csr-rhel9: no versions given (not affected: from 1791459759 before *)
- cert-manager/cert-manager-trust-manager-rhel9: no versions given (not affected: from 1790598593 before *)
- costmanagement/costmanagement-metrics-rhel9-operator: no versions given (not affected: from 1783539156 before *)
- discovery/discovery-ui-rhel9: no versions given (not affected: from 1782756541 before *)
- discovery/discovery-server-rhel9: no versions given (not affected: from 1784821670 before *)
- insights-proxy/insights-proxy-container-rhel9: no versions given (not affected: from 1782890503 before *)
- rhosdt/tempo-gateway-opa-rhel9: no versions given (not affected: from 1782501180 before *)
- rhosdt/tempo-gateway-rhel9: no versions given (not affected: from 1782501200 before *)
- rhosdt/tempo-jaeger-query-rhel9: no versions given (not affected: from 1782498923 before *)
- rhosdt/tempo-operator-bundle: no versions given (not affected: from 1782510941 before *)
- rhosdt/tempo-query-rhel9: no versions given (not affected: from 1782501220 before *)
- rhosdt/tempo-rhel9: no versions given (not affected: from 1782501196 before *)
- rhosdt/tempo-rhel9-operator: no versions given (not affected: from 1782501195 before *)
- rhosdt/opentelemetry-collector-rhel9: no versions given (not affected: from 1785704636 before *)
- rhosdt/opentelemetry-rhel9-operator: no versions given (not affected: from 1785704547 before *)
- rhui5/cds-kubernetes-rhel9: no versions given (not affected: from 1784794818 before *)
- rhui5/cds-rhel9: no versions given (not affected: from 1784794778 before *)
- rhui5/haproxy-rhel9: no versions given (not affected: from 1784795112 before *)
- rhui5/installer-rhel9: no versions given (not affected: from 1784794289 before *)
- rhui5/rhua-rhel9: no versions given (not affected: from 1784795076 before *)
- rhui5/cds-kubernetes-tp-rhel9: no versions given (not affected: from 1787241211 before *)
- rhui5/installer-tp-rhel9: no versions given (not affected: from 1787135742 before *)
- rhui5/rhua-tp-rhel9: no versions given (not affected: from 1787241260 before *)
- rhoai/odh-llama-stack-k8s-operator-rhel9: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:28911> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33124> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33313> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33612> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34102> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:39981> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44481> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:46836> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:50205> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:58981> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:69964> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:72502> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82304> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82322> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82347> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82354> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82372> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82857> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82888> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-5278> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2368764> (issue-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>

## Sources

- CVE List: [CVE-2025-5278](https://www.cve.org/CVERecord?id=CVE-2025-5278), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2025-5278](https://nvd.nist.gov/vuln/detail/CVE-2025-5278), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2025-5278 · Whole record: https://cve.day/CVE-2025-5278.json · Rebuilt by cve.day 2026-11-25T22:58:58.523Z
