| Title | GNU Binutils 2.47 Memory Corruption |
|---|
| Description | A vulnerability was found in GNU Binutils 2.47. The ld linker has a NULL pointer dereference in elf_orphan_compatible (ld/ldelf.c:2092) when processing malformed ELF object files during relocatable linking (-r option). When an orphan section has no compatible output section, the function dereferences a NULL pointer causing a SEGV crash. Reproducer: ld -r -o /dev/null bug_2.o (with PoC file). Stack trace: #0 elf_orphan_compatible ld/ldelf.c:2092, #1 ldelf_place_orphan ld/ldelf.c:2259, #2 ldemul_place_orphan ld/ldemul.c:152, #3 ldlang_place_orphan ld/ldlang.c:7815, #4 lang_place_orphans ld/ldlang.c:7871. |
|---|
| Source | ⚠️ https://sourceware.org/bugzilla/show_bug.cgi?id=34450 |
|---|
| User | wsstssw (UID 100468) |
|---|
| Submission | 08/12/2026 03:13 (1 month ago) |
|---|
| Moderation | 09/13/2026 21:21 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 403330 [GNU Binutils 2.47 ELF Orphan Section ld/ldelf.c elf_orphan_compatible null pointer dereference] |
|---|
| Points | 20 |
|---|