CVE-2025-1152: GNU Binutils ld xstrdup.c xstrdup memory leak
A vulnerability classified as problematic has been found in GNU Binutils 2.43. Affected is the function xstrdup of the file xstrdup.c of the component ld. The manipulation leads to memory leak. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told 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 xstrdup.c xstrdup memory leak
— Microsoft
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-1152?
CVE-2025-1152 is classified as problematic due to the potential for memory leaks.
How do I fix CVE-2025-1152?
To fix CVE-2025-1152, update to the latest version of GNU Binutils that addresses this vulnerability.
What component is affected by CVE-2025-1152?
CVE-2025-1152 affects the xstrdup function in the ld component of GNU Binutils.
Can CVE-2025-1152 be exploited remotely?
Yes, CVE-2025-1152 can be exploited remotely, although the attack complexity is considered high.
What type of vulnerability is CVE-2025-1152?
CVE-2025-1152 is a memory leak vulnerability.