CVE-2026-6846
7.8GNU · Binutils
A heap-based buffer overflow in GNU Binutils allows local attackers to trigger arbitrary code execution or a denial of service by providing a malicious XCOFF object file.
Executive summary
A heap-buffer-overflow vulnerability in GNU Binutils could allow a local attacker to achieve arbitrary code execution via a specially crafted XCOFF object file.
Vulnerability
This is a heap-based buffer overflow (CWE-122) occurring during the processing of XCOFF object files. The attack requires user interaction, where a local attacker tricks a victim into processing a malicious file, leading to potential code execution or system crash.
Business impact
The ability for an attacker to execute arbitrary code or cause a denial of service poses a significant risk to system integrity and availability. With a CVSS score of 7.8, this high-severity vulnerability could lead to full system compromise if an attacker successfully executes code with the privileges of the user running the Binutils toolchain.
Remediation
Immediate Action: Update GNU Binutils to version 2.47 or apply the specific security errata provided by your distribution vendor, such as Red Hat RHSA-2026:33527 or RHSA-2026:39022.
Proactive Monitoring: Monitor system logs for unusual crashes or errors associated with build tools, compilers, or file processing utilities that utilize Binutils.
Compensating Controls: Implement strict file permission policies and ensure that users do not process untrusted XCOFF object files from unknown or unverified sources.
Exploitation status
Public Exploit Available: Unknown.
Analyst recommendation
Given the potential for arbitrary code execution, this vulnerability should be prioritized for remediation, particularly in development or build environments where external object files are frequently processed. Organizations should apply the available vendor patches immediately to eliminate the risk of heap-based memory corruption and ensure the stability of their toolchain environments.
More GNU CVEs
Sources
Originally found and disclosed by Red Hat would like to thank Takao Sato for reporting this issue., per the CVE Program record.
- RHSA-2026:33527 Vendor advisory
- RHSA-2026:39022 Vendor advisory
- Vulnerability database entry
- RHBZ#2460006 Issue tracker