CVE-2025-1152 GNU Binutils ld xstrdup.c xstrdup memory leak
A memory leak in the GNU Binutils linker allows remote attackers to cause a denial of service via high-complexity exploitation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-1152?
CVE-2025-1152 is a low-severity denial of service vulnerability in Gnu Binutils, published on 10 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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."
Which versions are affected by CVE-2025-1152?
It affects 1 product.
Products include Gnu Binutils.
How do I fix CVE-2025-1152?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-1152 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-1152 exists.
Other vulnerabilities in Gnu Binutils
Sources
Also known as AZL-56567, AZL-56573, AZL-56582, AZL-56597, AZL-56621, AZL-56624 and 8 more.