CVEfocus › CVE database › CVE-2025-1149

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

CVSS 3.1 LowEPSS 1.0% (higher than 63% of CVEs)Published 2025-02-10Updated 2025-02-10Assigner: VulDB

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

CWE-401CWE-404

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
8Fix pending
4Will not fix
48Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04binutilsWill not fix
binutils isn't safe for untrusted inputs. As mentioned in the description, backporting this fix has a high chance of causing regressions. In addition,…
UBUNTU-CVE-2025-1149
Ubuntu 22.04binutilsWill not fix
binutils isn't safe for untrusted inputs. As mentioned in the description, backporting this fix has a high chance of causing regressions. In addition,…
UBUNTU-CVE-2025-1149
Ubuntu 20.04binutilsFix pendingUBUNTU-CVE-2025-1149
Ubuntu 18.04binutilsFix pendingUBUNTU-CVE-2025-1149
Ubuntu 16.04binutilsFix pendingUBUNTU-CVE-2025-1149
Ubuntu 14.04binutilsFix pendingUBUNTU-CVE-2025-1149
Debian 14binutilsFixed2.45-3DEBIAN-CVE-2025-1149
Debian 13binutilsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-1149
Debian 12binutilsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-1149
Red Hat Enterprise Linux 10binutilsNot affected
Red Hat Enterprise Linux 10binutils-develNot affected
Red Hat Enterprise Linux 10binutils-goldNot affected
Red Hat Enterprise Linux 10mingw-binutils-genericNot affected
Red Hat Enterprise Linux 10mingw32-binutilsNot affected
Red Hat Enterprise Linux 10mingw64-binutilsNot affected
Red Hat Enterprise Linux 9binutilsNot affected
Red Hat Enterprise Linux 9binutils-develNot affected
Red Hat Enterprise Linux 9binutils-goldNot affected
Red Hat Enterprise Linux 9gcc-toolset-13-binutilsNot affected
Red Hat Enterprise Linux 9gcc-toolset-13-binutils-develNot affected
Red Hat Enterprise Linux 9gcc-toolset-13-binutils-goldNot affected
Red Hat Enterprise Linux 9gcc-toolset-13-gdbNot affected
Red Hat Enterprise Linux 9gcc-toolset-14-binutilsNot affected
Red Hat Enterprise Linux 9gcc-toolset-14-binutils-develNot affected
Red Hat Enterprise Linux 9gcc-toolset-14-binutils-goldNot affected
Red Hat Enterprise Linux 9gcc-toolset-14-binutils-gprofngNot affected
Red Hat Enterprise Linux 9gdbNot affected
Red Hat Enterprise Linux 9gdb-docNot affected
Red Hat Enterprise Linux 9gdb-gdbserverNot affected
Red Hat Enterprise Linux 9gdb-headlessNot affected
Red Hat Enterprise Linux 9gdb-minimalNot affected
Red Hat Enterprise Linux 9mingw-binutilsFix pending
Fix deferred
Red Hat Enterprise Linux 9mingw-binutils-genericFix pending
Fix deferred
Red Hat Enterprise Linux 9mingw32-binutilsFix pending
Fix deferred
Red Hat Enterprise Linux 9mingw64-binutilsFix pending
Fix deferred
Red Hat Enterprise Linux 8binutilsNot affected
Red Hat Enterprise Linux 8binutils-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-13-binutilsNot affected
Red Hat Enterprise Linux 8gcc-toolset-13-binutils-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-13-binutils-goldNot affected
Red Hat Enterprise Linux 8gcc-toolset-13-gdbNot affected
Red Hat Enterprise Linux 8gcc-toolset-14-binutilsNot affected
Red Hat Enterprise Linux 8gcc-toolset-14-binutils-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-14-binutils-goldNot affected
Red Hat Enterprise Linux 8gcc-toolset-14-binutils-gprofngNot affected
Red Hat Enterprise Linux 8gcc-toolset-14-gdbNot affected
Red Hat Enterprise Linux 8gdbNot affected
Red Hat Enterprise Linux 8gdb-docNot affected
Red Hat Enterprise Linux 8gdb-gdbserverNot affected
Red Hat Enterprise Linux 8gdb-headlessNot affected
Red Hat Enterprise Linux 8mingw-binutilsNot affected
Red Hat Enterprise Linux 8mingw-binutils-genericNot affected
Red Hat Enterprise Linux 8mingw32-binutilsNot affected
Red Hat Enterprise Linux 8mingw64-binutilsNot affected
Red Hat Enterprise Linux 7binutilsNot affected
Red Hat Enterprise Linux 7binutils-develNot affected
Red Hat Enterprise Linux 7gdbNot affected
Red Hat Enterprise Linux 7gdb-docNot affected
Red Hat Enterprise Linux 7gdb-gdbserverNot affected
Red Hat Enterprise Linux 6binutilsNot affected
Red Hat Enterprise Linux 6binutils-develNot affected

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.