CVE-2025-5278: Coreutils: heap buffer under-read in gnu coreutils sort via key specification
Vulnerability summary
CVE-2025-5278 is a medium (CVSS 4.4) Stack-based Buffer Overflow vulnerability in coreutils. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.6% of scored vulnerabilities.
Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 27-05-2025PublishedVulnerability first disclosed.
- 06-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · Red hatEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- OSV · DebianEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.31% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse25 products
- coreutils&distro=SUSE Enterprise Storage 7.1< 8.32-150300.3.11.1
- coreutils&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 8.32-150300.3.11.1
- coreutils&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 8.32-150400.9.9.1
- coreutils&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 8.32-150400.9.9.1
- coreutils&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 8.32-150400.9.9.1
Redhat5 products
- coreutils< 0:8.32-41.el9_8 | < 0:9.5-8.el10_2 | < 0:8.30-21.el8_10
- coreutils-debuginfo< 0:8.32-41.el9_8 | < 0:9.5-8.el10_2 | < 0:8.30-21.el8_10
- coreutils-debugsource< 0:8.32-41.el9_8 | < 0:9.5-8.el10_2 | < 0:8.30-21.el8_10
- coreutils-single< 0:8.32-41.el9_8 | < 0:9.5-8.el10_2 | < 0:8.30-21.el8_10
- coreutils-single-debuginfo< 0:8.32-41.el9_8 | < 0:9.5-8.el10_2 | < 0:8.30-21.el8_10
Opensuse4 products
- coreutils-single&distro=openSUSE Leap 15.6< 8.32-150400.9.9.1
- coreutils-testsuite&distro=openSUSE Leap 15.6< 8.32-150400.9.9.1
- coreutils&distro=openSUSE Leap 15.6< 8.32-150400.9.9.1
- coreutils&distro=openSUSE Tumbleweed< 9.7-3.1
Debian1 product
- coreutilsAll versions (No fix recorded)
Mageia1 product
- coreutils< 9.1-1.1.mga9
Ubuntu1 product
- coreutilsAll versions (No fix recorded) | < 8.32-4.1ubuntu1.4 | < 9.4-3ubuntu6.3 | < 9.7-3ubuntu2.1
6 vendors · 37 products