Vulnerability · Published Feb 10, 2025 · Assigned by VulDB

CVE-2025-1151GNU Binutils ld xmemdup.c xmemdup memory leak

Low 3.1

In plain English

A low-severity memory leak in Binutils from GNU. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.1Low
Exploit odds (30 days)0.6%top 50.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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."

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12binutilsno fix listedDEBIAN-CVE-2025-1151
Debian:13binutilsno fix listedDEBIAN-CVE-2025-1151
Debian:14binutils2.45-3DEBIAN-CVE-2025-1151
Ubuntu:22.04:LTSbinutilsno fix listedUBUNTU-CVE-2025-1151
Ubuntu:24.04:LTSbinutilsno fix listedUBUNTU-CVE-2025-1151
Ubuntu:25.10binutilsno fix listedUBUNTU-CVE-2025-1151
Ubuntu:26.04:LTSbinutilsno fix listedUBUNTU-CVE-2025-1151
Ubuntu:26.10binutilsno fix listedUBUNTU-CVE-2025-1151

Affected products (as reported)

VendorProductVersions
GNU Binutils 2.43

Weakness: CWE-401, CWE-404 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

References