Linker crash via unchecked ELF relocation index
Published Feb 11, 2025 · Updated Apr 25, 2025
Memory corruption in GNU Binutils ld 2.43 allows attackers to crash the linker by processing a crafted ELF file with section garbage collection. In _bfd_elf_gc_mark_rsec, an invalid relocation symbol index can fall outside both local and external symbol tables and be used without rejection. Remote delivery alone is insufficient; a user or build process must invoke ld with --gc-sections on the file, causing that linker process to terminate.
Summary
What happened
Memory corruption in GNU Binutils ld 2.43 allows attackers to crash the linker by processing a crafted ELF file with section garbage collection. In _bfd_elf_gc_mark_rsec, an invalid relocation symbol index can fall outside both local and external symbol tables and be used without rejection. Remote delivery alone is insufficient; a user or build process must invoke ld with --gc-sections on the file, causing that linker process to terminate.
The record
- CVE
- CVE-2025-1181
- Published
- Feb 11, 2025
- Updated
- Apr 25, 2025
- Vendor
- The GnuPG Project
- Product
- GNU Binutils
- Classifications
- CWE-119, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 11, 2025CVE publishedPublication date reported by the CVE source.
- Apr 25, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.43
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Crafted ELF proof of concept for ldproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo