CVE-2025-0840
GNU Binutils objdump.c disassemble_bytes stack-based overflow
Reported by vuldb · Published January 29, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| binutils | Amazon Linux | 2.39-6.amzn2023.0.11, 2.29.1-31.amzn2.0.2 |
| binutils-gprofng | Amazon Linux | 2.39-6.amzn2023.0.11 |
| binutils-devel | Amazon Linux | 2.39-6.amzn2023.0.11, 2.29.1-31.amzn2.0.2 |
| gcc10-binutils-gold | Amazon Linux | 2.35.2-9.amzn2.0.2 |
| gcc10-binutils-devel | Amazon Linux | 2.35.2-9.amzn2.0.2 |
| gcc10-binutils | Amazon Linux | 2.35.2-9.amzn2.0.2 |
| binutils | gnu | 2.44 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GNU | Binutils | 2.0, 2.1, 2.2 |
| GNU | Binutils | 2.0, 2.1, 2.2 |
Timeline
- Jan 29, 2025 CVE Published
- Jan 29, 2025 PoC Published (6 in total, the first dated here)
- Jan 30, 2025 EPSS Score (30 in total, the first dated here)
- Feb 10, 2025 Coalition ESS Score (21 in total, the first dated here)
- Jun 2, 2026 Security Advisory (5 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-0840
vulnetix vdb fixes CVE-2025-0840
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-0840/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- VDB-293997 | GNU Binutils objdump.c disassemble_bytes stack-based overflow vdb-entrytechnical-description
- VDB-293997 | CTI Indicators (IOB, IOC, IOA) signaturepermissions-required
- Submit #485255 | GNU binutils/objdump 2.43 Buffer Overflow third-party-advisory
- issue-tracking
- exploit
- patch
- product