Stack-based Buffer Overflow Affecting coreutils package, versions <8.32-4.1ubuntu1.4


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.29% (22nd 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-UBUNTU2204-COREUTILS-10288864
  • published1 Sept 2026
  • 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 Ubuntu:22.04 coreutils to version 8.32-4.1ubuntu1.4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream coreutils package and not the coreutils package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 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