Vulnerability · Published Feb 11, 2025 · Assigned by VulDB
CVE-2025-1176GNU Binutils ld elflink.c _bfd_elf_gc_mark_rsec heap-based overflow
Medium 5.0
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.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was found in GNU Binutils 2.43 and classified as critical. This issue affects the function _bfd_elf_gc_mark_rsec of the file elflink.c of the component ld. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The patch is named f9978defb6fab0bd8583942d97c112b0932ac814. 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-1176 |
| Debian:13 | binutils | no fix listed | DEBIAN-CVE-2025-1176 |
| Debian:14 | binutils | 2.45-3 | DEBIAN-CVE-2025-1176 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.8 | USN-7423-1 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.8 | UBUNTU-CVE-2025-1176 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.5 | USN-7423-1 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.5 | UBUNTU-CVE-2025-1176 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- VDB-295079 | GNU Binutils ld elflink.c _bfd_elf_gc_mark_rsec heap-based overflow vdb-entry, technical-description
- VDB-295079 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #495329 | GNU binutils/ld 2.43 Heap-based Buffer Overflow third-party-advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=32636 issue-tracking
- https://sourceware.org/bugzilla/attachment.cgi?id=15913 exploit
- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f9978defb6fab0bd8583942d97c112b0932ac814 patch
- https://www.gnu.org/ product
- https://security.netapp.com/advisory/ntap-20250411-0007/