Moderate Vulnerability in Coreutils: Heap Buffer Under-Read in GNU Coreutils Sort

coreutils Updated 30 Jun 2026

Summary

29/06/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:33124: Moderate: coreutils security update. Affects coreutils versions < 9.5-8.el10_2. Fixed in 9.5-8.el10_2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Coreutils is a package that contains the GNU Core Utilities, which are essential tools for file manipulation, shell scripting, and text processing in Unix-like operating systems. It combines functionalities from previously separate packages, including fileutils, sh-utils, and textutils. The coreutils package is widely used for its reliability and efficiency in handling basic system tasks. However, it has been identified that certain versions are vulnerable to a heap buffer under-read issue, which can potentially lead to unauthorized data access or system instability.

Vulnerability Detail

The vulnerability identified as CVE-2025-5278 is a heap buffer under-read in the GNU Coreutils sort command, specifically related to key specification. This flaw allows an attacker to read memory locations that should not be accessible, potentially exposing sensitive information. The issue arises from improper handling of memory buffers, which can be exploited in scenarios where untrusted input is processed. The ramifications of this vulnerability can include data leakage and increased risk of further attacks on the system.

How To Fix

Minimum fixed version

9.5-8.el10_2

This is the first release that contains the fix.

sudo dnf update coreutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using the sort command with untrusted input until the package is updated. This can help mitigate the risk of exploitation until a proper fix is applied.

Conclusion

The coreutils package has a moderate vulnerability that can lead to serious security risks if not addressed. Users are strongly advised to update to the patched version to ensure system security and integrity. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.

See every vulnerability recorded for coreutils →

Share this vulnerability

FAQ

CVE-2025-5278 is a vulnerability in the GNU Coreutils sort command that allows for a heap buffer under-read, potentially exposing sensitive data.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Failure to address this vulnerability may lead to unauthorized access to sensitive information, data leakage, and increased risk of further attacks.

Yes, avoid using the sort command with untrusted input until the coreutils package is updated to the patched version.

You can update the coreutils package by running the command 'sudo yum update coreutils' in your terminal.

Related vulnerabilities

Recent vulnerabilities recorded for coreutils.

How To Fix

Minimum fixed version

9.5-8.el10_2

This is the first release that contains the fix.

sudo dnf update coreutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback