cve.bz

CVE-2025-5278 Stack-based Buffer Overflow

4.4 mediumEPSS 0.3%Fix available

Medium (4.4). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:9.5-8.el10_2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:8.30-21.el8_10
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:8.32-41.el9_8
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.17: fixed in 1791371080
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.17: fixed in 1791371069
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.17: fixed in 1791788287
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.17: fixed in 1791970484
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.18: fixed in 1791459707
  • Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita, BellSoft Hardened Containers: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-5278 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-5278?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-5278?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-5278 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:9.5-8.el10_2
Red Hat Enterprise Linux 80:8.30-21.el8_10
Red Hat Enterprise Linux 90:8.32-41.el9_8
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791371080
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791371069
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791788287
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791970484
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459707
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459711
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459759
Red Hat Cert Manager support for Red Hat OpenShift release 1.181789029076
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791966259
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790598593
Red Hat Cost Management 41783539156
Red Hat Discovery 21782756541
Red Hat Discovery 21784821670
Red Hat Insights proxy 1.51782890503
Red Hat OpenShift distributed tracing 3.10.11782501180
Red Hat OpenShift distributed tracing 3.10.11782501200
Red Hat OpenShift distributed tracing 3.10.11782498923
Red Hat OpenShift distributed tracing 3.10.11782510941
Red Hat OpenShift distributed tracing 3.10.11782501220
Red Hat OpenShift distributed tracing 3.10.11782501196
Red Hat OpenShift distributed tracing 3.10.11782501195
Red Hat OpenShift distributed tracing 3.10.11785704636
Red Hat OpenShift distributed tracing 3.10.11785704547
Red Hat Update Infrastructure 51784794818
Red Hat Update Infrastructure 51784794778
Red Hat Update Infrastructure 51784795112
Red Hat Update Infrastructure 51784794289
Red Hat Update Infrastructure 51784795076
Red Hat Update Infrastructure 51787241211
Red Hat Update Infrastructure 51787135742
Red Hat Update Infrastructure 51787241260

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14coreutilsno fix listedDEBIAN-CVE-2025-5278
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 2 morecoreutilsno fix listedUBUNTU-CVE-2025-5278
Ubuntu22.04:LTScoreutils8.32-4.1ubuntu1.4UBUNTU-CVE-2025-5278 USN-8697-1
Ubuntu24.04:LTScoreutils9.4-3ubuntu6.3UBUNTU-CVE-2025-5278 USN-8697-1
Ubuntu26.04:LTScoreutils9.7-3ubuntu2.1UBUNTU-CVE-2025-5278 USN-8697-1
Red Hatenterprise_linux:8::baseoscoreutils, coreutils-single, coreutils-debuginfo and 2 more0:8.30-21.el8_10RHSA-2026:69964
Red Hatenterprise_linux:9::baseoscoreutils, coreutils-single, coreutils-debuginfo and 2 more0:8.32-41.el9_8RHSA-2026:28911
Red Hatenterprise_linux:10.2coreutils, coreutils-single, coreutils-debuginfo and 2 more0:9.5-8.el10_2RHSA-2026:33124
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morecoreutils8.32-150300.3.11.1SUSE-SU-2025:02354-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 12 morecoreutils8.32-150400.9.9.1SUSE-SU-2025:02362-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5coreutils8.25-13.19.1SUSE-SU-2025:02353-1
SUSELinux Micro 6.0coreutils9.4-5.1SUSE-SU-2025:20523-1
SUSELinux Micro 6.1coreutils9.4-slfo.1.1_2.1SUSE-SU-2025:20660-1
openSUSELeap 15.6coreutils, coreutils-single, coreutils-testsuite8.32-150400.9.9.1SUSE-SU-2025:02362-1
openSUSETumbleweedcoreutils9.7-3.1openSUSE-SU-2025:15327-1
AlmaLinux8coreutils, coreutils-common, coreutils-single8.30-21.el8_10ALSA-2026:69964
AlmaLinux9coreutils, coreutils-common, coreutils-single8.32-41.el9_8ALSA-2026:28911
AlmaLinux10coreutils, coreutils-common, coreutils-single9.5-8.el10_2ALSA-2026:33124
Rocky Linux8coreutils0:8.30-21.el8_10RLSA-2026:69964
Rocky Linux9coreutils0:8.32-41.el9_8RLSA-2026:28911
Rocky Linux10coreutils0:9.5-8.el10_2RLSA-2026:33124
Azure Linux3coreutils9.4-7AZL-93060
Alpaquita23coreutils9.1-r2BELL-CVE-2025-5278
Alpaquita25, streamcoreutils9.7-r2BELL-CVE-2025-5278
BellSoft Hardened Containers23coreutils9.1-r2BELL-CVE-2025-5278
BellSoft Hardened Containers25, streamcoreutils9.7-r2BELL-CVE-2025-5278

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The severity of this issue is considered Moderate rather than Critical because successful exploitation requires the use of the traditional key specification syntax with an exceptionally large character position value, which is uncommon in typical usage. Although the vulnerability can lead to a heap buffer overflow resulting in a read one byte before the allocated buffer, it does not enable code execution, privilege escalation, or direct compromise of data confidentiality or integrity. The impact is therefore primarily limited to potential service disruption due to application crashes.

Furthermore, default RHEL configurations such as SELinux enforcement, ASLR, and memory protections reduce the likelihood of exploitation and limit the scope of any resulting impact. These safeguards, along with typical system usage patterns that do not commonly invoke the vulnerable code path, restrict exploitability in default and hardened environments. Consequently, the vulnerability’s overall security impact is mitigated compared to flaws that allow immediate code execution or broader compromise across system components.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10coreutils-0:9.5-8.el10_2Fixed 2026-06-29RHSA-2026:33124
Red Hat Enterprise Linux 8coreutils-0:8.30-21.el8_10Fixed 2026-09-22RHSA-2026:69964
Red Hat Enterprise Linux 9coreutils-0:8.32-41.el9_8Fixed 2026-06-24RHSA-2026:28911
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791371080Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-rhel9:1791371069Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-rhel9:1791788287Fixed 2026-10-13RHSA-2026:82322
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-bundle:1791970484Fixed 2026-10-14RHSA-2026:82888
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-rhel9:1791459711Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-istio-csr-rhel9:1791459759Fixed 2026-10-13RHSA-2026:82354
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-rhel9:1789029076Fixed 2026-10-13RHSA-2026:82372
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-bundle:1791966259Fixed 2026-10-14RHSA-2026:82857
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/cert-manager-trust-manager-rhel9:1790598593Fixed 2026-09-28RHSA-2026:72502
Cost Management 4costmanagement/costmanagement-metrics-rhel9-operator:1783539156Fixed 2026-07-15RHSA-2026:39981
Red Hat Discovery 2discovery/discovery-ui-rhel9:1782756541Fixed 2026-06-29RHSA-2026:33313
Red Hat Enterprise Linux 6coreutilsOut of support scope
Red Hat Enterprise Linux 7coreutilsOut of support scope
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-k8s-operator-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
19 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-5278.

References

Check your stackJSON