Stack-based Buffer Overflow Affecting coreutils-single package, versions <0:8.30-21.el8_10


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-COREUTILSSINGLE-10258081
  • published28 May 2025
  • disclosed27 May 2025

Introduced: 27 May 2025

CVE-2025-5278  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Centos:8 coreutils-single to version 0:8.30-21.el8_10 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream coreutils-single package and not the coreutils-single package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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 Base Scores

version 3.1