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

Published Jan 29, 2025
·
Updated

A vulnerability, which was classified as problematic, was found in GNU Binutils up to 2.43. This affects the function disassemblebytes 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.

Other sources

GNU Binutils objdump.c disassemblebytes stack-based overflow

Microsoft

Affected Software

7 affected componentsFixes available
GNU binutils<=2.43
GNU binutils<2.44
debian/binutils<=2.35.2-2, <=2.40-2
2.44-3
Microsoft azl3 binutils 2.41-5<2.41-4
2.41-4
Microsoft cbl2 binutils 2.37-14<2.37-11
2.37-11
Microsoft cbl2 binutils 2.37-11<2.37-11
2.37-11
Microsoft azl3 binutils 2.41-4<2.41-4
2.41-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/binutils to a version that resolves this vulnerability.

    Fixed in 2.44-3
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.37-11
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.41-4
  4. Upgrade

    Upgrade GNU Binutils to a version that resolves this vulnerability.

    Fixed in 2.44
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch baac6c221e9d69335bf41366a1c7d87d8ab2f893

Event History

Jan 29, 2025
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Feb 16, 2025
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
May 3, 2025
Data Sourced
via Ubuntu·05:31 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-0840?

CVE-2025-0840 is classified as problematic due to its potential for stack-based buffer overflow leading to arbitrary code execution.

2

How do I fix CVE-2025-0840?

To fix CVE-2025-0840, update GNU Binutils to a version later than 2.43, as this version contains the vulnerability.

3

What components are affected by CVE-2025-0840?

CVE-2025-0840 affects the disassemble_bytes function in the binutils/objdump.c file of GNU Binutils up to version 2.43.

4

Can CVE-2025-0840 be exploited remotely?

Yes, CVE-2025-0840 can potentially be exploited remotely if an attacker can manipulate the argument buf during the disassembly process.

5

What are the potential impacts of exploiting CVE-2025-0840?

Exploiting CVE-2025-0840 may lead to a stack-based buffer overflow, which can result in arbitrary code execution or system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203