Skip to content
OpenAdvisories
Low · 3.1 CVE-2025-1152 EUVD-2025-2027GHSA-xr98-5c2m-hfwp

GNU Binutils ld xstrdup.c xstrdup memory leak

Published Feb 10, 2025 · Updated Feb 12, 2025 · Assigned by VulDB

Description

A vulnerability classified as problematic has been found in GNU Binutils 2.43. Affected is the function xstrdup of the file xstrdup.c of the component ld. The manipulation leads to memory leak. It is possible to launch 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 products

VendorProductAffectedFixed
GNU Binutils 2.43 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 binutils 2.45-3 —
Debian 13 binutils No fix yet —
Debian 12 binutils No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS binutils No fix yet —
Ubuntu 22.04 LTS binutils No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS binutils No fix yet —
Ubuntu Pro 18.04 LTS binutils No fix yet —
Ubuntu Pro 16.04 LTS binutils No fix yet —
Ubuntu Pro 14.04 LTS binutils No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLES 15 SP7 openucx 1.17.0-150700.4.2.7 SUSE-SU-2025:4096-1
SLES 15 SP7 perf 6.4.0.git54263.0aad576b1c-150700.3.2.2 SUSE-SU-2025:4096-1
SLES 15 SP6 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLES 15 SP6 openucx 1.15.0-150600.3.5.2 SUSE-SU-2025:4096-1
SLES 15 SP6 perf 6.4.0.git33229.a3afe13a7f-150600.3.17.1 SUSE-SU-2025:4096-1
SLES 15 SP5 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLES 15 SP5 openucx 1.13.1-150500.4.2.5 SUSE-SU-2025:4096-1
SLES 15 SP5 perf 5.14.21-150500.52.5.1 SUSE-SU-2025:4096-1
SLES 15 SP4 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLES 15 SP4 openucx 1.11.1-150400.4.2.1 SUSE-SU-2025:4096-1
SLES 15 SP4 perf 5.14.21-150400.44.20.1 SUSE-SU-2025:4096-1
SLES 15 SP3 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLES 15 SP3 openucx 1.9.0-150300.4.2.5 SUSE-SU-2025:4096-1
SLES 15 SP3 perf 5.3.18-150300.38.7.1 SUSE-SU-2025:4096-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 binutils 2.45-160000.1.1 SUSE-SU-2025:21195-1
SLES for SAP 16.0 bpftool 7.5.0-160000.2.3 SUSE-SU-2025:21195-1
SLES for SAP 15 SP5 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLES for SAP 15 SP5 openucx 1.13.1-150500.4.2.5 SUSE-SU-2025:4096-1
SLES for SAP 15 SP5 perf 5.14.21-150500.52.5.1 SUSE-SU-2025:4096-1
SLES for SAP 15 SP4 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLES for SAP 15 SP4 openucx 1.11.1-150400.4.2.1 SUSE-SU-2025:4096-1
SLES for SAP 15 SP4 perf 5.14.21-150400.44.20.1 SUSE-SU-2025:4096-1
SLES for SAP 15 SP3 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLES for SAP 15 SP3 openucx 1.9.0-150300.4.2.5 SUSE-SU-2025:4096-1
SLES for SAP 15 SP3 perf 5.3.18-150300.38.7.1 SUSE-SU-2025:4096-1
SLES 16.0 binutils 2.45-160000.1.1 SUSE-SU-2025:21195-1
SLES 16.0 bpftool 7.5.0-160000.2.3 SUSE-SU-2025:21195-1
SLE Micro 6.2 binutils 2.45-160000.1.1 SUSE-SU-2025:21197-1
SLE HPC 15 SP5 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLE HPC 15 SP5 openucx 1.13.1-150500.4.2.5 SUSE-SU-2025:4096-1
SLE HPC 15 SP5 perf 5.14.21-150500.52.5.1 SUSE-SU-2025:4096-1
SLE HPC 15 SP4 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLE HPC 15 SP4 openucx 1.11.1-150400.4.2.1 SUSE-SU-2025:4096-1
SLE HPC 15 SP4 perf 5.14.21-150400.44.20.1 SUSE-SU-2025:4096-1
SLE HPC 15 SP3 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SLE HPC 15 SP3 openucx 1.9.0-150300.4.2.5 SUSE-SU-2025:4096-1
SLE HPC 15 SP3 perf 5.3.18-150300.38.7.1 SUSE-SU-2025:4096-1
SUSE Manager Server LTS 4.3 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SUSE Manager Server LTS 4.3 openucx 1.11.1-150400.4.2.1 SUSE-SU-2025:4096-1
SUSE Manager Proxy LTS 4.3 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SUSE Manager Proxy LTS 4.3 openucx 1.11.1-150400.4.2.1 SUSE-SU-2025:4096-1
SUSE Enterprise Storage 7.1 binutils 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
SUSE Enterprise Storage 7.1 openucx 1.9.0-150300.4.2.5 SUSE-SU-2025:4096-1
SUSE Enterprise Storage 7.1 perf 5.3.18-150300.38.7.1 SUSE-SU-2025:4096-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed binutils 2.45-1.2 openSUSE-SU-2025:15651-1
openSUSE Leap 16.0 binutils +25 2.45-160000.1.1 openSUSE-SU-2025:20150-1
openSUSE Leap 16.0 bpftool 7.5.0-160000.2.3 openSUSE-SU-2025:20150-1
openSUSE Leap 15.6 binutils +24 2.45-150100.7.57.1 SUSE-SU-2025:4096-1
openSUSE Leap 15.6 openucx 1.15.0-150600.3.5.2 SUSE-SU-2025:4096-1
openSUSE Leap 15.6 perf 6.4.0.git33229.a3afe13a7f-150600.3.17.1 SUSE-SU-2025:4096-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 gcc +4 No fix yet —
Azure Linux 2 (CBL-Mariner) gcc +3 No fix yet —

Advisories 7

References