p PatchFirst

CVE-2025-0840

CVE-2025-0840 · GNU Binutils objdump.c disassemble_bytes stack-based overflow

CVSS 6.3 · Medium · EPSS 0.8% · 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:

apk list -I -o 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, which was classified as problematic, was found in GNU Binutils up to 2.43. This affects the function disassemble_bytes of the file binutils/objdump.c. The manipulation of the argument buf leads to stack-based buffer overflow. 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. Upgrading to version 2.44 is able to address this issue. The identifier of the patch is baac6c221e9d69335bf41366a1c7d87d8ab2f893. It is recommended to upgrade the affected component.

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 ·
  • USN-7899-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • 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:15725-1 · openSUSE Tumbleweed ·
  • USN-7423-2 · Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
  • USN-7306-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS ·

Stack: system

Affected products and versions

  • binutils

    Versions
    • 2.0: Affected
    • 2.1: Affected
    • 2.2: Affected
    • 2.3: Affected
    • 2.4: Affected
    • 2.5: Affected
    All versions (44)
    • 2.6: Affected
    • 2.7: Affected
    • 2.8: Affected
    • 2.9: Affected
    • 2.10: Affected
    • 2.11: Affected
    • 2.12: Affected
    • 2.13: Affected
    • 2.14: Affected
    • 2.15: Affected
    • 2.16: Affected
    • 2.17: Affected
    • 2.18: Affected
    • 2.19: Affected
    • 2.20: Affected
    • 2.21: Affected
    • 2.22: Affected
    • 2.23: Affected
    • 2.24: Affected
    • 2.25: Affected
    • 2.26: Affected
    • 2.27: Affected
    • 2.28: Affected
    • 2.29: Affected
    • 2.30: Affected
    • 2.31: Affected
    • 2.32: Affected
    • 2.33: Affected
    • 2.34: Affected
    • 2.35: Affected
    • 2.36: Affected
    • 2.37: Affected
    • 2.38: Affected
    • 2.39: Affected
    • 2.40: Affected
    • 2.41: Affected
    • 2.42: Affected
    • 2.43: Affected

    No fix published

  • binutils Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 2.40-r8

    Update to 2.40-r8

  • binutils Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 2.41-r1

    Update to 2.41-r1

  • binutils Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 2.42-r1

    Update to 2.42-r1

  • binutils Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 2.43.1-r2

    Update to 2.43.1-r2

  • binutils Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 2.44-r0

    Update to 2.44-r0

  • binutils Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 2.44-r0

    Update to 2.44-r0

  • binutils Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 2.44-r0

    Update to 2.44-r0

  • 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

    Affected ranges
    • ECOSYSTEM: < 2.43.90.20250122-1

    Update to 2.43.90.20250122-1

  • binutils Debian 14

    Affected ranges
    • ECOSYSTEM: < 2.43.90.20250122-1

    Update to 2.43.90.20250122-1

  • 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 (23)
    • 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
    Affected ranges
    • ECOSYSTEM: < 2.24-5ubuntu14.2+esm7

    Update to 2.24-5ubuntu14.2+esm7

  • 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 (38)
    • 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
    Affected ranges
    • ECOSYSTEM: < 2.26.1-1ubuntu1~16.04.8+esm11

    Update to 2.26.1-1ubuntu1~16.04.8+esm11

  • 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 (27)
    • 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
    Affected ranges
    • ECOSYSTEM: < 2.30-21ubuntu1~18.04.9+esm4

    Update to 2.30-21ubuntu1~18.04.9+esm4

  • binutils Ubuntu 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 (19)
    • 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
    Affected ranges
    • ECOSYSTEM: < 2.34-6ubuntu1.10

    Update to 2.34-6ubuntu1.10

  • 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 (16)
    • 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
    Affected ranges
    • ECOSYSTEM: < 2.38-4ubuntu2.7

    Update to 2.38-4ubuntu2.7

  • 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 (11)
    • 2.42-2ubuntu1
    • 2.42-3ubuntu1
    • 2.42-4ubuntu1
    • 2.42-4ubuntu2
    • 2.42-4ubuntu2.3
    Affected ranges
    • ECOSYSTEM: < 2.42-4ubuntu2.4

    Update to 2.42-4ubuntu2.4

Original sources

Check your server →