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

- Severity: Medium 6.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2025-01-29T20:00:11.944Z
- Modified: 2026-06-17T08:27:14.277Z
- Weaknesses: CWE-119, CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- GNU Binutils: 2.0; 2.1; 2.2; 2.3; 2.4; 2.5; 2.6; 2.7; 2.8; 2.9; 2.10; 2.11; and 33 more

## Every score

- VulDB: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.0 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 5.1 Medium `AV:N/AC:H/Au:N/C:P/I:P/A:P`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://vuldb.com/?submit.485255> (exploit, third-party-advisory, vdb-entry)
- <https://sourceware.org/bugzilla/show_bug.cgi?id=32560> (exploit, issue-tracking)
- <https://sourceware.org/bugzilla/attachment.cgi?id=15882> (exploit, broken-link)
- <https://vuldb.com/?id.293997> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.293997> (permissions-required, signature, vdb-entry)
- <https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=baac6c221e9d69335bf41366a1c7d87d8ab2f893> (patch)
- <https://www.gnu.org/> (product)

## Sources

- CVE List: [CVE-2025-0840](https://www.cve.org/CVERecord?id=CVE-2025-0840), CVE Terms of Use, modified 2025-02-12
- NVD: [CVE-2025-0840](https://nvd.nist.gov/vuln/detail/CVE-2025-0840), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-0840 · Whole record: https://cve.day/CVE-2025-0840.json · Rebuilt by cve.day 2026-11-25T22:58:53.669Z
