CVE-2025-5278 Coreutils: heap buffer under-read in gnu coreutils sort via key specification
MediumCVSS 4.4
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
18 packages: 11 fixed, 1 partially fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/coreutils(Debian 12) | = 9.1-1; = 9.4-1; = 9.4-2; = 9.4-3 +12 more | No fix listed | No fix yet |
| debian/coreutils(Debian 13) | = 9.7-3; = 9.10-1; = 9.12-0.1; = 9.12-0.2 +2 more | No fix listed | No fix yet |
| debian/coreutils(Debian 14) | = 9.7-3; = 9.10-1; = 9.12-0.1; = 9.12-0.2 +2 more | No fix listed | No fix yet |
| redhat openshift | All versions | No fix listed | No fix yet |
| redhat openshift ai | All versions | No fix listed | No fix yet |
| azure linux coreutils(Azure Linux 3.0) | < 9.4-7; All versions | 9.4-7 | Partially fixed |
| coreutils | >= 7.2, < 9.8 | 9.8 | Fixed |
| redhat cert manager | < 1789029076; < 1790598593; < 1791371069; < 1791371080 +6 more | 1789029076, 1790598593, 1791371069, 1791371080, 1791459707, 1791459711, 1791459759, 1791788287, 1791966259, 1791970484 | Fixed |
| redhat cost management | < 1783539156 | 1783539156 | Fixed |
| redhat discovery | < 1782756541; < 1784821670 | 1782756541, 1784821670 | Fixed |
| redhat enterprise linux | < 0:8.30-21.el8_10; < 0:8.32-41.el9_8; < 0:9.5-8.el10_2 | 0:8.30-21.el8_10, 0:8.32-41.el9_8, 0:9.5-8.el10_2 | Fixed |
| redhat insights proxy | < 1782890503 | 1782890503 | Fixed |
| redhat openshift distributed tracing | < 1782498923; < 1782501180; < 1782501195; < 1782501196 +5 more | 1782498923, 1782501180, 1782501195, 1782501196, 1782501200, 1782501220, 1782510941, 1785704547, 1785704636 | Fixed |
| redhat rhui | < 1784794289; < 1784794778; < 1784794818; < 1784795076 +4 more | 1784794289, 1784794778, 1784794818, 1784795076, 1784795112, 1787135742, 1787241211, 1787241260 | Fixed |
| ubuntu/coreutils(Ubuntu 22.04) | < 8.32-4.1ubuntu1.4 | 8.32-4.1ubuntu1.4 | Fixed |
| ubuntu/coreutils(Ubuntu 24.04) | < 9.4-3ubuntu6.3 | 9.4-3ubuntu6.3 | Fixed |
| ubuntu/coreutils(Ubuntu 26.04) | < 9.7-3ubuntu2.1 | 9.7-3ubuntu2.1 | Fixed |
| redhat rhel els | = 6; = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux coreutils(Azure Linux:3.0) | All versions | No fix listed |
| azure linux coreutils(Azure Linux:3.0) | < 9.4-7 | 9.4-7 |
| debian/coreutils(Debian:12) | All versions | No fix listed |
| debian/coreutils(Debian:12) | = 9.1-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.10-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.12-0.1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.12-0.2 | No fix listed |
| debian/coreutils(Debian:12) | = 9.12-0.3 | No fix listed |
| debian/coreutils(Debian:12) | = 9.4-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.4-2 | No fix listed |
| debian/coreutils(Debian:12) | = 9.4-3 | No fix listed |
| debian/coreutils(Debian:12) | = 9.4-3.1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.5-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.6-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.6-2 | No fix listed |
| debian/coreutils(Debian:12) | = 9.7-1 | No fix listed |
| debian/coreutils(Debian:12) | = 9.7-2 | No fix listed |
| debian/coreutils(Debian:12) | = 9.7-3 | No fix listed |
| debian/coreutils(Debian:13) | All versions | No fix listed |
| debian/coreutils(Debian:13) | = 9.10-1 | No fix listed |
| debian/coreutils(Debian:13) | = 9.12-0.1 | No fix listed |
| debian/coreutils(Debian:13) | = 9.12-0.2 | No fix listed |
| debian/coreutils(Debian:13) | = 9.12-0.3 | No fix listed |
| debian/coreutils(Debian:13) | = 9.7-3 | No fix listed |
| debian/coreutils(Debian:14) | All versions | No fix listed |
Show 47 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/coreutils(Debian:14) | = 9.10-1 | No fix listed |
| debian/coreutils(Debian:14) | = 9.12-0.1 | No fix listed |
| debian/coreutils(Debian:14) | = 9.12-0.2 | No fix listed |
| debian/coreutils(Debian:14) | = 9.12-0.3 | No fix listed |
| debian/coreutils(Debian:14) | = 9.7-3 | No fix listed |
| coreutils | >= 7.2, < 9.8 | 9.8 |
| redhat enterprise linux | < 0:9.5-8.el10_2 | 0:9.5-8.el10_2 |
| redhat enterprise linux | < 0:8.30-21.el8_10 | 0:8.30-21.el8_10 |
| redhat enterprise linux | < 0:8.32-41.el9_8 | 0:8.32-41.el9_8 |
| redhat cert manager | < 1791371080 | 1791371080 |
| redhat cert manager | < 1791371069 | 1791371069 |
| redhat cert manager | < 1791788287 | 1791788287 |
| redhat cert manager | < 1791970484 | 1791970484 |
| redhat cert manager | < 1791459707 | 1791459707 |
| redhat cert manager | < 1791459711 | 1791459711 |
| redhat cert manager | < 1791459759 | 1791459759 |
| redhat cert manager | < 1789029076 | 1789029076 |
| redhat cert manager | < 1791966259 | 1791966259 |
| redhat cert manager | < 1790598593 | 1790598593 |
| redhat cost management | < 1783539156 | 1783539156 |
| redhat discovery | < 1782756541 | 1782756541 |
| redhat discovery | < 1784821670 | 1784821670 |
| redhat insights proxy | < 1782890503 | 1782890503 |
| redhat openshift distributed tracing | < 1782501180 | 1782501180 |
| redhat openshift distributed tracing | < 1782501200 | 1782501200 |
| redhat openshift distributed tracing | < 1782498923 | 1782498923 |
| redhat openshift distributed tracing | < 1782510941 | 1782510941 |
| redhat openshift distributed tracing | < 1782501220 | 1782501220 |
| redhat openshift distributed tracing | < 1782501196 | 1782501196 |
| redhat openshift distributed tracing | < 1782501195 | 1782501195 |
| redhat openshift distributed tracing | < 1785704636 | 1785704636 |
| redhat openshift distributed tracing | < 1785704547 | 1785704547 |
| redhat rhui | < 1784794818 | 1784794818 |
| redhat rhui | < 1784794778 | 1784794778 |
| redhat rhui | < 1784795112 | 1784795112 |
| redhat rhui | < 1784794289 | 1784794289 |
| redhat rhui | < 1784795076 | 1784795076 |
| redhat rhui | < 1787241211 | 1787241211 |
| redhat rhui | < 1787135742 | 1787135742 |
| redhat rhui | < 1787241260 | 1787241260 |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat openshift | All versions | No fix listed |
| ubuntu/coreutils(Ubuntu:22.04) | < 8.32-4.1ubuntu1.4 | 8.32-4.1ubuntu1.4 |
| ubuntu/coreutils(Ubuntu:24.04) | < 9.4-3ubuntu6.3 | 9.4-3ubuntu6.3 |
| ubuntu/coreutils(Ubuntu:26.04) | < 9.7-3ubuntu2.1 | 9.7-3ubuntu2.1 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-5278 vendor-advisory
- RHSA-2026:28911 vendor-advisory
- RHSA-2026:33124 vendor-advisory
- RHSA-2026:33313 vendor-advisory
- RHSA-2026:33612 vendor-advisory
- RHSA-2026:34102 vendor-advisory
- RHSA-2026:39981 vendor-advisory
- RHSA-2026:44481 vendor-advisory
- RHSA-2026:46836 vendor-advisory
- RHSA-2026:50205 vendor-advisory
- RHSA-2026:58981 vendor-advisory
- RHSA-2026:69964 vendor-advisory
- RHSA-2026:72502 vendor-advisory
- RHSA-2026:82304 vendor-advisory
- RHSA-2026:82322 vendor-advisory
- RHSA-2026:82347 vendor-advisory
- RHSA-2026:82354 vendor-advisory
- RHSA-2026:82372 vendor-advisory
- RHSA-2026:82857 vendor-advisory
- RHSA-2026:82888 vendor-advisory
- access.redhat.com vdb-entry
- RHBZ#2368764 issue-tracking
- cgit.git.savannah.gnu.org
- debbugs.gnu.org
- www.openwall.com
- www.openwall.com
- cgit.git.savannah.gnu.org
- www.openwall.com
- Ubuntu CVE tracker vendor-advisory
- USN-8697-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2025-16308 third-party-advisory