Vulnerability · Published Feb 11, 2025 · Assigned by VulDB
CVE-2025-1181GNU Binutils ld elflink.c _bfd_elf_gc_mark_rsec memory corruption
Medium 5.0
In plain English
A medium-severity memory corruption 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 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability classified as critical was found in GNU Binutils 2.43. This vulnerability affects the function _bfd_elf_gc_mark_rsec of the file bfd/elflink.c of the component ld. The manipulation leads to memory corruption. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The name of the patch is 931494c9a89558acb36a03a340c01726545eef24. 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-1181 |
| Debian:13 | binutils | no fix listed | DEBIAN-CVE-2025-1181 |
| Debian:14 | binutils | 2.45-3 | DEBIAN-CVE-2025-1181 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.8 | USN-7423-1 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.11 | USN-7899-1 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.8 | UBUNTU-CVE-2025-1181 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.7 | USN-7899-1 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.5 | USN-7423-1 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.5 | UBUNTU-CVE-2025-1181 |
| Ubuntu:25.10 | binutils | 2.45-7ubuntu1.1 | USN-7899-1 |
Affected products (as reported)
Weakness: CWE-119 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- VDB-295084 | GNU Binutils ld elflink.c _bfd_elf_gc_mark_rsec memory corruption vdb-entry, technical-description
- VDB-295084 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #495402 | GNU ld 2.43 illegal read access with --gc-sections --no-print-gc-sections -w third-party-advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=32643 issue-tracking
- https://sourceware.org/bugzilla/attachment.cgi?id=15918 exploit
- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=931494c9a89558acb36a03a340c01726545eef24 patch
- https://www.gnu.org/ product
- https://security.netapp.com/advisory/ntap-20250425-0007/