Out-of-bounds read in coreutils - CVE-2025-5278

 

Out-of-bounds read in coreutils - CVE-2025-5278

Published: May 29, 2025


Vulnerability identifier: #VU109921
CSH Severity: Medium
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-5278
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the begfield() function when handling an overly large key value. A remote attacker can trick the victim into passing specially crafted input to the application, trigger an out-of-bounds read error and read contents of memory on the system.


Affected software

coreutils
Guardium Data Protection
Cloud Pak for Data System - Cyclops
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
openEuler
Fedora
IBM DataPower Gateway
coreutils (Red Hat package)
coreutils
coreutils-common
coreutils-single
coreutils-debuginfo
coreutils-debugsource
coreutils-help

How to mitigate CVE-2025-5278

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

IBM DataPower Gateway - update to 11.0.0.3
Guardium Data Protection - addressed in versions 12.0p150, 12.0p7240
coreutils (Red Hat package) - addressed in versions 8.30-21.el8_10, 8.32-41.el9_8, 9.5-8.el10_2
coreutils - update to 8.30-21.0.1
coreutils-common - update to 8.30-21.0.1
coreutils-single - update to 8.30-21.0.1
coreutils - update to 8.32-16
coreutils-debuginfo - update to 8.32-16
coreutils-debugsource - update to 8.32-16
coreutils-help - update to 8.32-16
coreutils - addressed in versions 9.5-12.fc41, 9.6-4.fc42
Cloud Pak for Data System - Cyclops - update to 11.3.1.1

External References

Related Security Bulletins