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.0: 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/E:U/U:Green
CVE-ID: CVE-2025-5278
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
coreutils

Detailed vulnerability description

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.


How to mitigate CVE-2025-5278

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

Sources