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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-27 · Modified: 2026-11-06
- Aliases: MGASA-2025-0172, SUSE-SU-2025:02353-1, SUSE-SU-2025:02354-1, SUSE-SU-2025:02362-1, SUSE-SU-2025:20523-1, SUSE-SU-2025:20660-1, RHSA-2026:28911, RHSA-2026:33124, RHSA-2026:69964, UBUNTU-CVE-2025-5278, DEBIAN-CVE-2025-5278, openSUSE-SU-2025:15327-1
- Record: https://cvemate.com/vulnerability/CVE-2025-5278 · JSON: https://cvemate.com/vulnerability/CVE-2025-5278/json

## Description

```text
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.
```

## Signals

- CVSS: 4.4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- EPSS: 0.318%, percentile 26.64%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 37)

- debian coreutils (Debian): All versions (No fix recorded)
- ubuntu coreutils (Ubuntu): All versions (No fix recorded) \| \< 8.32-4.1ubuntu1.4 \| \< 9.4-3ubuntu6.3 \| \< 9.7-3ubuntu2.1
- mageia coreutils (Mageia): \< 9.1-1.1.mga9
- opensuse coreutils-single&distro=openSUSE Leap 15.6 (openSUSE): \< 8.32-150400.9.9.1
- opensuse coreutils-testsuite&distro=openSUSE Leap 15.6 (openSUSE): \< 8.32-150400.9.9.1
- opensuse coreutils&distro=openSUSE Leap 15.6 (openSUSE): \< 8.32-150400.9.9.1
- opensuse coreutils&distro=openSUSE Tumbleweed (openSUSE): \< 9.7-3.1
- redhat coreutils (Red Hat): \< 0:8.32-41.el9\_8 \| \< 0:9.5-8.el10\_2 \| \< 0:8.30-21.el8\_10
- redhat coreutils-debuginfo (Red Hat): \< 0:8.32-41.el9\_8 \| \< 0:9.5-8.el10\_2 \| \< 0:8.30-21.el8\_10
- redhat coreutils-debugsource (Red Hat): \< 0:8.32-41.el9\_8 \| \< 0:9.5-8.el10\_2 \| \< 0:8.30-21.el8\_10
- redhat coreutils-single (Red Hat): \< 0:8.32-41.el9\_8 \| \< 0:9.5-8.el10\_2 \| \< 0:8.30-21.el8\_10
- redhat coreutils-single-debuginfo (Red Hat): \< 0:8.32-41.el9\_8 \| \< 0:9.5-8.el10\_2 \| \< 0:8.30-21.el8\_10
- suse coreutils&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 8.32-150300.3.11.1
- suse coreutils&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 8.32-150300.3.11.1
- suse coreutils&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 8.32-150400.9.9.1
- suse coreutils&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 8.32-150400.9.9.1
- suse coreutils&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS (SUSE Linux Enterprise): \< 8.32-150400.9.9.1
- suse coreutils&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS (SUSE Linux Enterprise): \< 8.32-150400.9.9.1
- suse coreutils&distro=SUSE Linux Enterprise Micro 5.1 (SUSE Linux Enterprise): \< 8.32-150300.3.11.1
- suse coreutils&distro=SUSE Linux Enterprise Micro 5.2 (SUSE Linux Enterprise): \< 8.32-150300.3.11.1

## References (first 20 of 50)

- <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/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>
- <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>

---

Data as of 2026-12-05T04:23:46.046Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
