CVE-2025-5278 Coreutils: heap buffer under-read in gnu coreutils sort via key specification
A heap buffer under-read in GNU Coreutils sort allows attackers to cause crashes or leak sensitive data via crafted key specifications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-5278?
CVE-2025-5278 is a medium-severity memory corruption vulnerability in Cert Manager support for Red Hat OpenShift release 1.17, published on 27 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-121
Which versions are affected by CVE-2025-5278?
Linux distribution packages (40)
coreutils AlmaLinux:10 | All versions | 9.5-8.el10_2 |
coreutils-common AlmaLinux:10 | All versions | 9.5-8.el10_2 |
coreutils-single AlmaLinux:10 | All versions | 9.5-8.el10_2 |
coreutils AlmaLinux:8 | All versions | 8.30-21.el8_10 |
coreutils-common AlmaLinux:8 | All versions | 8.30-21.el8_10 |
coreutils-single AlmaLinux:8 | All versions | 8.30-21.el8_10 |
coreutils AlmaLinux:9 | All versions | 8.32-41.el9_8 |
coreutils-common AlmaLinux:9 | All versions | 8.32-41.el9_8 |
coreutils-single AlmaLinux:9 | All versions | 8.32-41.el9_8 |
coreutils Red Hat:enterprise_linux:10.2 | All versions | 0:9.5-8.el10_2 |
coreutils-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:9.5-8.el10_2 |
coreutils-debugsource Red Hat:enterprise_linux:10.2 | All versions | 0:9.5-8.el10_2 |
coreutils-single Red Hat:enterprise_linux:10.2 | All versions | 0:9.5-8.el10_2 |
coreutils-single-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:9.5-8.el10_2 |
coreutils Red Hat:enterprise_linux:8::baseos | All versions | 0:8.30-21.el8_10 |
coreutils-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:8.30-21.el8_10 |
coreutils-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:8.30-21.el8_10 |
coreutils-single Red Hat:enterprise_linux:8::baseos | All versions | 0:8.30-21.el8_10 |
coreutils-single-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:8.30-21.el8_10 |
coreutils Red Hat:enterprise_linux:9::baseos | All versions | 0:8.32-41.el9_8 |
coreutils-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:8.32-41.el9_8 |
coreutils-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:8.32-41.el9_8 |
coreutils-single Red Hat:enterprise_linux:9::baseos | All versions | 0:8.32-41.el9_8 |
coreutils-single-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:8.32-41.el9_8 |
coreutils Rocky Linux:10 | All versions | 0:9.5-8.el10_2 |
coreutils Rocky Linux:8 | All versions | 0:8.30-21.el8_10 |
coreutils Rocky Linux:9 | All versions | 0:8.32-41.el9_8 |
coreutils SUSE:Enterprise Storage 7.1 | All versions | 8.32-150300.3.11.1 |
coreutils SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 8.32-150300.3.11.1 |
coreutils SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 8.32-150400.9.9.1 |
coreutils SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 8.32-150400.9.9.1 |
coreutils SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 8.32-150400.9.9.1 |
coreutils SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 8.32-150400.9.9.1 |
coreutils SUSE:Linux Enterprise Micro 5.1 | All versions | 8.32-150300.3.11.1 |
coreutils SUSE:Linux Enterprise Micro 5.2 | All versions | 8.32-150300.3.11.1 |
coreutils SUSE:Linux Enterprise Micro 5.3 | All versions | 8.32-150400.9.9.1 |
coreutils SUSE:Linux Enterprise Micro 5.4 | All versions | 8.32-150400.9.9.1 |
coreutils SUSE:Linux Enterprise Micro 5.5 | All versions | 8.32-150400.9.9.1 |
coreutils SUSE:Linux Enterprise Module for Basesystem 15 SP6 | All versions | 8.32-150400.9.9.1 |
coreutils SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 8.32-150400.9.9.1 |
How do I fix CVE-2025-5278?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-5278 being exploited?
There is no known exploitation of CVE-2025-5278 in the wild and no public exploit code.
Sources
Also known as ALSA-2026:28911, ALSA-2026:33124, ALSA-2026:69964, AZL-93060, BELL-CVE-2025-5278, CLSA-2026-1783530353 and 20 more.