Buffer overflow in Gnu Binutils

CVE-2025-0840

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.

Vulnerability class: Buffer Overflow

EPSS: 0.007 (50.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-0840?
CVE-2025-0840 is a medium-severity vulnerability in Gnu Binutils, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.0/10. Published 2025-01-29.
How severe is CVE-2025-0840?
Medium severity. CVSS v3 base score is 5.0 out of 10.
Is CVE-2025-0840 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.