p PatchFirst

CVE-2025-1151

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

CVSS 2.3 · Low · EPSS 0.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="binutils"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

Published
Updated

Fixes in distributions

  • SUSE-SU-2025:21195-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • SUSE-SU-2025:21197-1 · SUSE Linux Micro 6.2 ·
  • openSUSE-SU-2025:20150-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2025:4096-1 · openSUSE Leap 15.6, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP6, SUSE Linux Enterprise Module for Basesystem 15 SP7, SUSE Linux Enterprise Module for Development Tools 15 SP6, SUSE Linux Enterprise Module for Development Tools 15 SP7, SUSE Linux Enterprise Module for Package Hub 15 SP6, SUSE Linux Enterprise Module for Package Hub 15 SP7, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Manager Proxy LTS 4.3, SUSE Manager Server LTS 4.3 ·
  • openSUSE-SU-2025:15651-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • binutils

    Versions
    • 2.43: Affected

    No fix published

  • binutils Debian 12

    Versions
    • 2.40-2
    • 2.40.50.20230111-1
    • 2.40.50.20230215-1
    • 2.40.50.20230501-1
    • 2.40.50.20230510-1
    • 2.40.50.20230602-1
    All versions (130)
    • 2.40.50.20230611-1
    • 2.40.50.20230611-2
    • 2.40.50.20230622-1
    • 2.40.50.20230625-1
    • 2.40.50.20230630-1
    • 2.40.90.20230705-1
    • 2.40.90.20230714-1
    • 2.40.90.20230714-2
    • 2.40.90.20230720-1
    • 2.40.90.20230729-1
    • 2.40.90.20230729-2
    • 2.41-1
    • 2.41-2
    • 2.41-3
    • 2.41-4
    • 2.41-5
    • 2.41-6
    • 2.41-7
    • 2.41.50.20230731-1
    • 2.41.50.20230803-1
    • 2.41.50.20230905-1
    • 2.41.50.20231010-1
    • 2.41.50.20231101-1
    • 2.41.50.20231125-1
    • 2.41.50.20231202-1
    • 2.41.50.20231206-1
    • 2.41.50.20231214-1
    • 2.41.50.20231227-1
    • 2.41.90.20240115-1
    • 2.41.90.20240122-1
    • 2.42-1
    • 2.42-2
    • 2.42-2+hurd.1
    • 2.42-3
    • 2.42-4
    • 2.42.50.20240614-1
    • 2.42.50.20240618-1
    • 2.42.50.20240625-1
    • 2.42.50.20240710-1
    • 2.42.90.20240720-1
    • 2.42.90.20240720-2
    • 2.43-1
    • 2.43-2
    • 2.43.1-1
    • 2.43.1-2
    • 2.43.1-3
    • 2.43.1-4
    • 2.43.1-5
    • 2.43.50.20240817-1
    • 2.43.50.20240909-1
    • 2.43.50.20241004-1
    • 2.43.50.20241112-1
    • 2.43.50.20241126-1
    • 2.43.50.20241126-2
    • 2.43.50.20241126-3
    • 2.43.50.20241204-1
    • 2.43.50.20241204-2
    • 2.43.50.20241210-1
    • 2.43.50.20241215-1
    • 2.43.50.20241221-1
    • 2.43.50.20241230-1
    • 2.43.50.20250108-1
    • 2.43.90.20250122-1
    • 2.43.90.20250122-2
    • 2.43.90.20250127-1
    • 2.43.90.20250202-1
    • 2.44-1
    • 2.44-2
    • 2.44-3
    • 2.44.50.20250201-1
    • 2.44.50.20250207-1
    • 2.44.50.20250218-1
    • 2.44.50.20250218-2
    • 2.44.50.20250309-1
    • 2.44.50.20250405-1
    • 2.44.50.20250502-1
    • 2.44.50.20250520-1
    • 2.44.50.20250528-1
    • 2.44.50.20250707-1
    • 2.44.90.20250719-1
    • 2.45-1
    • 2.45-2
    • 2.45-3
    • 2.45-4
    • 2.45-5
    • 2.45-6
    • 2.45-7
    • 2.45-8
    • 2.45.50.20250813-1
    • 2.45.50.20250903-1
    • 2.45.50.20251005-1
    • 2.45.50.20251023-1
    • 2.45.50.20251023-2
    • 2.45.50.20251122-1
    • 2.45.50.20251125-1
    • 2.45.50.20251201-1
    • 2.45.50.20251209-1
    • 2.45.50.20260116-1
    • 2.45.50.20260119-1
    • 2.45.90.20260125-1
    • 2.45.90.20260201-1
    • 2.46-1
    • 2.46-2
    • 2.46-3
    • 2.46.50.20260216-1
    • 2.46.50.20260509-1
    • 2.46.50.20260519-1
    • 2.46.50.20260608-1
    • 2.46.50.20260617-1
    • 2.46.90.20260712-1
    • 2.47-1
    • 2.47-2
    • 2.47-3
    • 2.47-4
    • 2.47-5
    • 2.47-6
    • 2.47.50.20260813-1
    • 2.47.50.20260813-2
    • 2.47.50.20260813-3
    • 2.47.50.20260901-1
    • 2.47.50.20261004-1
    • 2.47.50.20261020-1
    • 2.47.50.20261021-1
    • 2.47.50.20261120-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Debian 13

    Versions
    • 2.44-3
    • 2.44.50.20250201-1
    • 2.44.50.20250207-1
    • 2.44.50.20250218-1
    • 2.44.50.20250218-2
    • 2.44.50.20250309-1
    All versions (56)
    • 2.44.50.20250405-1
    • 2.44.50.20250502-1
    • 2.44.50.20250520-1
    • 2.44.50.20250528-1
    • 2.44.50.20250707-1
    • 2.44.90.20250719-1
    • 2.45-1
    • 2.45-2
    • 2.45-3
    • 2.45-4
    • 2.45-5
    • 2.45-6
    • 2.45-7
    • 2.45-8
    • 2.45.50.20250813-1
    • 2.45.50.20250903-1
    • 2.45.50.20251005-1
    • 2.45.50.20251023-1
    • 2.45.50.20251023-2
    • 2.45.50.20251122-1
    • 2.45.50.20251125-1
    • 2.45.50.20251201-1
    • 2.45.50.20251209-1
    • 2.45.50.20260116-1
    • 2.45.50.20260119-1
    • 2.45.90.20260125-1
    • 2.45.90.20260201-1
    • 2.46-1
    • 2.46-2
    • 2.46-3
    • 2.46.50.20260216-1
    • 2.46.50.20260509-1
    • 2.46.50.20260519-1
    • 2.46.50.20260608-1
    • 2.46.50.20260617-1
    • 2.46.90.20260712-1
    • 2.47-1
    • 2.47-2
    • 2.47-3
    • 2.47-4
    • 2.47-5
    • 2.47-6
    • 2.47.50.20260813-1
    • 2.47.50.20260813-2
    • 2.47.50.20260813-3
    • 2.47.50.20260901-1
    • 2.47.50.20261004-1
    • 2.47.50.20261020-1
    • 2.47.50.20261021-1
    • 2.47.50.20261120-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Debian 14

    Versions
    • 2.44-3
    • 2.44.50.20250201-1
    • 2.44.50.20250207-1
    • 2.44.50.20250218-1
    • 2.44.50.20250218-2
    • 2.44.50.20250309-1
    All versions (14)
    • 2.44.50.20250405-1
    • 2.44.50.20250502-1
    • 2.44.50.20250520-1
    • 2.44.50.20250528-1
    • 2.44.50.20250707-1
    • 2.44.90.20250719-1
    • 2.45-1
    • 2.45-2
    Affected ranges
    • ECOSYSTEM: < 2.45-3

    Update to 2.45-3

  • binutils Ubuntu Pro 14.04 LTS

    Versions
    • 2.23.52.20130913-0ubuntu1
    • 2.23.90.20131017-1ubuntu1
    • 2.23.90.20131116-1ubuntu1
    • 2.23.91.20131123-1ubuntu1
    • 2.24-1ubuntu1
    • 2.24-1ubuntu2
    All versions (25)
    • 2.24-2ubuntu1
    • 2.24-2ubuntu2
    • 2.24-2ubuntu3
    • 2.24-4ubuntu1
    • 2.24-5ubuntu1
    • 2.24-5ubuntu2
    • 2.24-5ubuntu3
    • 2.24-5ubuntu3.1
    • 2.24-5ubuntu13
    • 2.24-5ubuntu14
    • 2.24-5ubuntu14.1
    • 2.24-5ubuntu14.2
    • 2.24-5ubuntu14.2+esm1
    • 2.24-5ubuntu14.2+esm2
    • 2.24-5ubuntu14.2+esm3
    • 2.24-5ubuntu14.2+esm5
    • 2.24-5ubuntu14.2+esm6
    • 2.24-5ubuntu14.2+esm7
    • 2.24-5ubuntu14.2+esm8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 16.04 LTS

    Versions
    • 2.25.1-6ubuntu1
    • 2.25.51.20151022-0ubuntu2
    • 2.25.51.20151022-0ubuntu3
    • 2.25.51.20151027-0ubuntu1
    • 2.25.51.20151028-0ubuntu1
    • 2.25.51.20151106-0ubuntu1
    All versions (42)
    • 2.25.51.20151113-1ubuntu1
    • 2.25.51.20151113-2ubuntu1
    • 2.25.90.20151125-1ubuntu1
    • 2.25.90.20151125-2ubuntu1
    • 2.25.90.20151211-0ubuntu1
    • 2.25.90.20151211-0ubuntu2
    • 2.25.90.20160101-1ubuntu1
    • 2.25.90.20160101-1ubuntu2
    • 2.26-2ubuntu1
    • 2.26-3ubuntu1
    • 2.26-4ubuntu1
    • 2.26-5ubuntu1
    • 2.26-6ubuntu1
    • 2.26-7ubuntu2
    • 2.26-8ubuntu1
    • 2.26-8ubuntu2
    • 2.26-8ubuntu2.1
    • 2.26.1-1ubuntu1~16.04
    • 2.26.1-1ubuntu1~16.04.1
    • 2.26.1-1ubuntu1~16.04.3
    • 2.26.1-1ubuntu1~16.04.4
    • 2.26.1-1ubuntu1~16.04.5
    • 2.26.1-1ubuntu1~16.04.6
    • 2.26.1-1ubuntu1~16.04.7
    • 2.26.1-1ubuntu1~16.04.8
    • 2.26.1-1ubuntu1~16.04.8+esm1
    • 2.26.1-1ubuntu1~16.04.8+esm3
    • 2.26.1-1ubuntu1~16.04.8+esm4
    • 2.26.1-1ubuntu1~16.04.8+esm5
    • 2.26.1-1ubuntu1~16.04.8+esm6
    • 2.26.1-1ubuntu1~16.04.8+esm7
    • 2.26.1-1ubuntu1~16.04.8+esm9
    • 2.26.1-1ubuntu1~16.04.8+esm11
    • 2.26.1-1ubuntu1~16.04.8+esm12
    • 2.26.1-1ubuntu1~16.04.8+esm13
    • 2.26.1-1ubuntu1~16.04.8+esm14
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 18.04 LTS

    Versions
    • 2.29.1-4ubuntu1
    • 2.29.1-6ubuntu1
    • 2.29.1-7ubuntu1
    • 2.29.1-8ubuntu1
    • 2.29.1-10ubuntu1
    • 2.29.1-12ubuntu1
    All versions (30)
    • 2.30-4ubuntu1
    • 2.30-5ubuntu1
    • 2.30-7ubuntu1
    • 2.30-8ubuntu1
    • 2.30-9ubuntu1
    • 2.30-10ubuntu1
    • 2.30-11ubuntu1
    • 2.30-14ubuntu2
    • 2.30-15ubuntu1
    • 2.30-20ubuntu2~18.04
    • 2.30-21ubuntu1~18.04
    • 2.30-21ubuntu1~18.04.1
    • 2.30-21ubuntu1~18.04.2
    • 2.30-21ubuntu1~18.04.3
    • 2.30-21ubuntu1~18.04.4
    • 2.30-21ubuntu1~18.04.5
    • 2.30-21ubuntu1~18.04.7
    • 2.30-21ubuntu1~18.04.8
    • 2.30-21ubuntu1~18.04.9
    • 2.30-21ubuntu1~18.04.9+esm1
    • 2.30-21ubuntu1~18.04.9+esm3
    • 2.30-21ubuntu1~18.04.9+esm4
    • 2.30-21ubuntu1~18.04.9+esm5
    • 2.30-21ubuntu1~18.04.9+esm13
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 20.04 LTS

    Versions
    • 2.33-2ubuntu1
    • 2.33.1-1ubuntu1
    • 2.33.1-5ubuntu1
    • 2.33.1-6ubuntu1
    • 2.33.1-6ubuntu3
    • 2.33.90.20200122-1ubuntu2
    All versions (23)
    • 2.34-1ubuntu1
    • 2.34-3ubuntu1
    • 2.34-4ubuntu1
    • 2.34-5ubuntu1
    • 2.34-6ubuntu1
    • 2.34-6ubuntu1.1
    • 2.34-6ubuntu1.3
    • 2.34-6ubuntu1.4
    • 2.34-6ubuntu1.5
    • 2.34-6ubuntu1.6
    • 2.34-6ubuntu1.7
    • 2.34-6ubuntu1.8
    • 2.34-6ubuntu1.9
    • 2.34-6ubuntu1.10
    • 2.34-6ubuntu1.11
    • 2.34-6ubuntu1.11+esm1
    • 2.34-6ubuntu1.11+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu 22.04 LTS

    Versions
    • 2.37-7ubuntu1
    • 2.37-9ubuntu1
    • 2.37-10ubuntu1
    • 2.37.50.20220106-2ubuntu1
    • 2.37.90.20220126-0ubuntu1
    • 2.37.90.20220130-0ubuntu2
    All versions (18)
    • 2.38-1ubuntu1
    • 2.38-2ubuntu1
    • 2.38-3ubuntu1
    • 2.38-4ubuntu2
    • 2.38-4ubuntu2.1
    • 2.38-4ubuntu2.2
    • 2.38-4ubuntu2.3
    • 2.38-4ubuntu2.4
    • 2.38-4ubuntu2.5
    • 2.38-4ubuntu2.6
    • 2.38-4ubuntu2.7
    • 2.38-4ubuntu2.8
    Affected ranges
    • ECOSYSTEM: < 2.38-4ubuntu2.10

    Update to 2.38-4ubuntu2.10

  • binutils Ubuntu 24.04 LTS

    Versions
    • 2.41-5ubuntu1
    • 2.41-6ubuntu1
    • 2.41.50.20231206-1ubuntu1
    • 2.41.50.20231214-1ubuntu1
    • 2.41.50.20231227-1ubuntu1
    • 2.41.90.20240122-1ubuntu1
    All versions (13)
    • 2.42-2ubuntu1
    • 2.42-3ubuntu1
    • 2.42-4ubuntu1
    • 2.42-4ubuntu2
    • 2.42-4ubuntu2.3
    • 2.42-4ubuntu2.4
    • 2.42-4ubuntu2.5
    Affected ranges
    • ECOSYSTEM: < 2.42-4ubuntu2.6

    Update to 2.42-4ubuntu2.6

  • binutils Ubuntu 25.10

    Versions
    • 2.44-3ubuntu1
    • 2.44.50.20250602-0ubuntu1
    • 2.44.50.20250604-0ubuntu2
    • 2.44.50.20250616-0ubuntu1
    • 2.44.50.20250707-1ubuntu1
    • 2.45-1ubuntu1
    All versions (11)
    • 2.45-3ubuntu3
    • 2.45-6ubuntu1
    • 2.45-7ubuntu1
    • 2.45-7ubuntu1.1
    • 2.45-7ubuntu1.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu 26.10

    Versions
    • 2.46-3ubuntu2
    • 2.46.50.20260608-1ubuntu1
    • 2.47-2ubuntu1
    • 2.47-6ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →