Stack Buffer Overflow in GNU Binutils <=2.43 objdump.c
CVE-2025-0840 Published on January 29, 2025
GNU Binutils objdump.c disassemble_bytes stack-based overflow
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.
Timeline
Advisory disclosed
VulDB entry created
VulDB entry last update
Weakness Types
What is a Stack Overflow Vulnerability?
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CVE-2025-0840 has been classified to as a Stack Overflow vulnerability or weakness.
What is a Buffer Overflow Vulnerability?
The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.
CVE-2025-0840 has been classified to as a Buffer Overflow vulnerability or weakness.
Products Associated with CVE-2025-0840
stack.watch emails you whenever new vulnerabilities are published in Canonical Ubuntu Linux or GNU Binutils. Just hit a watch button to start following.
Affected Versions
GNU Binutils:- Version 2.0 is affected.
- Version 2.1 is affected.
- Version 2.2 is affected.
- Version 2.3 is affected.
- Version 2.4 is affected.
- Version 2.5 is affected.
- Version 2.6 is affected.
- Version 2.7 is affected.
- Version 2.8 is affected.
- Version 2.9 is affected.
- Version 2.10 is affected.
- Version 2.11 is affected.
- Version 2.12 is affected.
- Version 2.13 is affected.
- Version 2.14 is affected.
- Version 2.15 is affected.
- Version 2.16 is affected.
- Version 2.17 is affected.
- Version 2.18 is affected.
- Version 2.19 is affected.
- Version 2.20 is affected.
- Version 2.21 is affected.
- Version 2.22 is affected.
- Version 2.23 is affected.
- Version 2.24 is affected.
- Version 2.25 is affected.
- Version 2.26 is affected.
- Version 2.27 is affected.
- Version 2.28 is affected.
- Version 2.29 is affected.
- Version 2.30 is affected.
- Version 2.31 is affected.
- Version 2.32 is affected.
- Version 2.33 is affected.
- Version 2.34 is affected.
- Version 2.35 is affected.
- Version 2.36 is affected.
- Version 2.37 is affected.
- Version 2.38 is affected.
- Version 2.39 is affected.
- Version 2.40 is affected.
- Version 2.41 is affected.
- Version 2.42 is affected.
- Version 2.43 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.