CVEfocus › CVE database › CVE-2025-0840

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

CVSS 5.0 MediumEPSS 0.8% (higher than 56% of CVEs)Published 2025-01-29Updated 2025-02-12Assigner: VulDB

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.

CWE-119CWE-121

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: 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

12Fixed
7Fix pending
1Will not fix
49Not 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 25.10binutilsNot affected
vulnerable_code_not_present
Ubuntu 24.04binutilsFixed2.42-4ubuntu2.4UBUNTU-CVE-2025-0840
Ubuntu 22.04binutilsFixed2.38-4ubuntu2.7UBUNTU-CVE-2025-0840
Ubuntu 20.04binutilsFixed2.34-6ubuntu1.10UBUNTU-CVE-2025-0840
Ubuntu 18.04binutilsFix pending2.30-21ubuntu1~18.04.9+esm4 (Ubuntu Pro)UBUNTU-CVE-2025-0840
Ubuntu 16.04binutilsFix pending2.26.1-1ubuntu1~16.04.8+esm11 (Ubuntu Pro)UBUNTU-CVE-2025-0840
Ubuntu 14.04binutilsFix pending2.24-5ubuntu14.2+esm7 (Ubuntu Pro)UBUNTU-CVE-2025-0840
Debian 14binutilsFixed2.43.90.20250122-1DEBIAN-CVE-2025-0840
Debian 13binutilsFixed2.43.90.20250122-1DEBIAN-CVE-2025-0840
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-0840
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
Alpine Linux 3.24binutilsFixed2.44-r0ALPINE-CVE-2025-0840
Alpine Linux 3.23binutilsFixed2.44-r0ALPINE-CVE-2025-0840
Alpine Linux 3.22binutilsFixed2.44-r0ALPINE-CVE-2025-0840
Alpine Linux 3.21binutilsFixed2.43.1-r2ALPINE-CVE-2025-0840
Alpine Linux 3.20binutilsFixed2.42-r1ALPINE-CVE-2025-0840
Alpine Linux 3.19binutilsFixed2.41-r1ALPINE-CVE-2025-0840
Alpine Linux 3.18binutilsFixed2.40-r8ALPINE-CVE-2025-0840

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.

Vendor advisories:

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.