Vulnerability · Published Jul 13, 2025 · Assigned by VulDB
CVE-2025-7545GNU Binutils objcopy.c copy_section heap-based overflow
Medium 5.3
In plain English
A medium-severity heap buffer overflow in Binutils from GNU. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
A vulnerability classified as problematic was found in GNU Binutils 2.45. Affected by this vulnerability is the function copy_section of the file binutils/objcopy.c. The manipulation leads to heap-based buffer overflow. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The patch is named 08c3cbe5926e4d355b5cb70bbec2b1eeb40c2944. It is recommended to apply a patch to fix this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | binutils | no fix listed | DEBIAN-CVE-2025-7545 |
| Debian:13 | binutils | no fix listed | DEBIAN-CVE-2025-7545 |
| Debian:14 | binutils | 2.45-3 | DEBIAN-CVE-2025-7545 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.10 | USN-7847-1 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.11 | USN-7899-1 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.10 | UBUNTU-CVE-2025-7545 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.7 | USN-7899-1 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.6 | USN-7847-1 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.6 | UBUNTU-CVE-2025-7545 |
| Ubuntu:25.10 | binutils | 2.45-7ubuntu1.1 | USN-7899-1 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-316243 | GNU Binutils objcopy.c copy_section heap-based overflow vdb-entry, technical-description
- VDB-316243 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #614355 | GNU binutils--gdb 2.45 Heap-based Buffer Overflow third-party-advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=33049 issue-tracking
- https://sourceware.org/bugzilla/show_bug.cgi?id=33049#c1 issue-tracking
- https://sourceware.org/bugzilla/attachment.cgi?id=16117 exploit
- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=08c3cbe5926e4d355b5cb70bbec2b1eeb40c2944 patch
- https://www.gnu.org/ product
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html