CVE-2025-1151: GNU Binutils ld xmemdup.c xmemdup memory leak
A vulnerability was found in GNU Binutils 2.43. It has been rated as problematic. This issue affects the function xmemdup of the file xmemdup.c of the component ld. The manipulation leads to memory leak. The attack may be initiated remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The code maintainer explains: "I'm not going to commit some of the leak fixes I've been working on to the 2.44 branch due to concern that would destabilise ld. All of the reported leaks in this bugzilla have been fixed on binutils master."
Other sources
GNU Binutils ld xmemdup.c xmemdup memory leak
— Microsoft
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-1151?
CVE-2025-1151 has been rated as problematic, indicating a significant but not critical impact.
How do I fix CVE-2025-1151?
To mitigate CVE-2025-1151, consider upgrading to a patched version of GNU Binutils that addresses this memory leak issue.
What component is affected by CVE-2025-1151?
CVE-2025-1151 affects the xmemdup function in the ld component of GNU Binutils 2.43.
Is CVE-2025-1151 exploitable remotely?
Yes, the vulnerability described in CVE-2025-1151 can be exploited remotely.
What type of vulnerability is CVE-2025-1151?
CVE-2025-1151 is classified as a memory leak vulnerability.