Buffer overflow in Binutils - CVE-2025-5245

 

Buffer overflow in Binutils - CVE-2025-5245

Published: August 22, 2025


Vulnerability identifier: #VU114361
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-5245
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
Binutils

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error within the debug_type_samep() function in /binutils/debug.c. A local user can trigger memory corruption and execute arbitrary code with elevated privileges. 


How to mitigate CVE-2025-5245

Install updates from vendor's website.

Sources