Vulnerability · Published Feb 10, 2025 · Assigned by VulDB

CVE-2025-1149GNU Binutils ld xmalloc.c xstrdup 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 48% 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 52.3% 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 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."

Affected packages & fixed versions

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

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