Skip to content
Fencer Vulns
low 3.1

CVE-2025-1149 json

GNU Binutils ld xmalloc.c xstrdup memory leak

published 2025-02-10 20 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-2024

cvss
3.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

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

Patch / fix

  • binutils Debian 14 2.45-3

debian advisories DEBIAN-CVE-2025-1149

  • binutils SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 2.45-160000.1.1
  • bpftool SLES for SAP applications 16.0, SLES 16.0 7.5.0-160000.2.3
  • binutils SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +18 more 2.45-150100.7.57.1
  • perf SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 6.4.0.git33229.a3afe13a7f-150600.3.17.1
  • perf SLE Module for Development Tools 15 SP7 6.4.0.git54263.0aad576b1c-150700.3.2.2
  • perf SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.38.7.1
  • perf SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.44.20.1
  • perf SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.52.5.1

suse advisories SUSE-SU-2025:21195-1SUSE-SU-2025:21197-1SUSE-SU-2025:4096-1

  • binutils openSUSE Leap 16.0 2.45-160000.1.1
  • bpftool openSUSE Leap 16.0 7.5.0-160000.2.3
  • cross-rx-binutils openSUSE Leap 16.0 2.45-160000.1.1
  • cross-arm-binutils openSUSE Leap 16.0 2.45-160000.1.1
  • cross-avr-binutils openSUSE Leap 16.0 2.45-160000.1.1
  • cross-bpf-binutils openSUSE Leap 16.0 2.45-160000.1.1
  • cross-ppc-binutils openSUSE Leap 16.0 2.45-160000.1.1
  • cross-pru-binutils openSUSE Leap 16.0 2.45-160000.1.1

opensuse advisories openSUSE-SU-2025:20150-1openSUSE-SU-2025:15651-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-1149 updated cvss 3.1

binutils: GNU Binutils ld xmalloc.c xstrdup memory leak

  • Red Hat Enterprise Linux 9 mingw-binutils, mingw32-binutils, mingw64-binutils, mingw-binutils-generic
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux 6 binutils Red Hat Enterprise Linux 7 gdb, binutils, gdb-gdbserver Red Hat Enterprise Linux 8 gdb, binutils, gdb-headless, gdb-gdbserver, mingw-binutils, mingw32-binutils, +9 more Red Hat Enterprise Linux 9 gdb, binutils, gdb-minimal, gdb-headless, binutils-gold, gdb-gdbserver, +6 more Red Hat Enterprise Linux 10 binutils, mingw-binutils, mingw32-binutils, mingw64-binutils
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
20 mo ago

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • sourceware.org https://sourceware.org/bugzilla/attachment.cgi?id=15887 referenced PoC, tagged "exploit" by a source, unverified
  • sourceware.org https://sourceware.org/bugzilla/show_bug.cgi?id=32576 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 2.3 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CNA 3.1 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
CNA 3.0 3.1 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
CNA 2.0 2.6 AV:N/AC:H/Au:N/C:N/I:N/A:P
CNA 4.0 2.3 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Affected products

  • GNU Binutils

Classification

Weakness
  • CWE-401 Missing Release of Memory after Effective Lifetime
  • CWE-404 Improper Resource Shutdown or Release

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.