CVE-2025-1149 GNU Binutils ld xmalloc.c xstrdup memory leak

Low 2.3 Published Updated

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-1149?

CVE-2025-1149 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 was found in GNU Binutils 2.43. It has been classified as problematic. This affects the function xstrdup of the file libiberty/xmalloc.c of the component ld. The manipulation leads to memory leak. It is possible to initiate 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."

Weakness: CWE-404, CWE-401

Which versions are affected by CVE-2025-1149?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2025-1149?

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-1149 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-1149 exists.

All Gnu Binutils vulnerabilities

Sources

Also known as AZL-56576, AZL-56591, AZL-56594, AZL-56600, AZL-56615, AZL-56627 and 8 more.

Is CVE-2025-1149 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free