Null pointer dereference in GNU Binutils ELF section handler

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-91781?

CVE-2026-91781 is a vulnerability classified as NULL Pointer Dereference and Improper Resource Shutdown or Release, affecting Binutils (affected versions: 2.47). This vulnerability is rated Medium, with a CVSS score of 4.8. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

A security vulnerability has been detected in GNU Binutils 2.47. Affected is the function elf_x86_64_common_section_index of the file bfd/elf64-x86-64.c of the component ELF Section Handler. The manipulation leads to null pointer dereference. The attack needs to be performed locally. The exploit has been disclosed publicly and may be used. Upgrading to version 2.48 is able to address this issue. The identifier of the patch is 7322e9bc30cb282575a701c307851fd3d66fee68. It is suggested to upgrade the affected component.

Affected products and scope

GNU Binutils in its current release (the version identified in the advisory) is affected. The vulnerable component is the ELF section handler for the x86-64 architecture. Deployments that do not link x86-64 ELF objects with the affected binutils release are not impacted. No other binutils components or architectures are identified in the record.

Technical details

The vulnerability is a null pointer dereference (CWE-476) in the function elf_x86_64_common_section_index, located in the ELF section handler for x86-64 targets (file bfd/elf64-x86-64.c). When binutils processes an ELF object file, this function is called to determine a section index. Under certain input conditions, a pointer that the function expects to be non-null is null, and the subsequent dereference causes a segmentation fault. The record does not describe the specific input conditions that trigger the null state. Public detail beyond the function name and crash type is limited.

Exploitability

The attack vector is local. An attacker needs low-level privileges on the target system (for example, an unprivileged user account) and does not require user interaction. The exploit has been disclosed publicly, meaning the crash trigger is reproducible and available to anyone. No evidence of in-the-wild exploitation beyond the public disclosure is indicated in the record.

Technical impact

An attacker gains the ability to crash the affected binutils process. The impact is limited to availability of that process: the linker or tool exits abnormally. There is no mechanism described for data exfiltration, memory corruption beyond the crash, or privilege escalation. The scope does not extend beyond the process that consumed the crafted input.

Business impact

The practical exposure is limited to environments where an untrusted or semi-trusted user can submit files to a build system. In a shared build server, CI runner, or multi-tenant compilation service, a local user could crash the link step, interrupting builds and delaying releases. The impact is confined to availability; no data is exposed or modified. Organisations running single-user build workstations with no untrusted input are unlikely to be affected in practice. The concern is primarily for shared infrastructure where low-privilege users feed objects into the linker.

Remediation

Upgrade GNU Binutils to the fixed release. The patch is available in the upstream repository and has been incorporated into the next stable release. Distribution packages (RHEL, Debian, Fedora, Alpine, and others) will carry the fix in their respective update channels. If an immediate upgrade is not possible, restrict access to the linker and related tools so that only trusted users can submit ELF objects to be linked.

Detection

Look for unexpected crash logs or core dumps from the linker (ld, ld.bfd, ld.gold) or other binutils tools that process ELF files. On systems with audit logging enabled, a sudden termination of a build process with a SIGSEGV signal in a context where untrusted objects are being linked is an indicator. Checking build farm logs for repeated failures in the link step, correlated with new object inputs, is a practical starting point.

Sources (15)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.