Description
An out-of-bounds write vulnerability was found in the BFD library's DLX ELF backend (bfd/elf32-dlx.c) in GNU binutils. The dlx_rtype_to_howto() function maps ELF relocation types to internal howto structures but fails to perform adequate bounds checking on attacker-controlled relocation type values (via ELF32_R_TYPE(r_info)) before indexing into the dlx_elf_howto_table[] array. The DLX relocation type number space is non-contiguous (basic types 0-6, extended types at 0x10000+), but the default case in the switch statement allows arbitrary index values to reach the array access.

A specially crafted ELF/DLX object file can trigger this out-of-bounds write when processed by any BFD-consuming tool (objdump, readelf, strip, ld, nm, objcopy). The vulnerability has been demonstrated to achieve arbitrary code execution via a File Stream Oriented Programming (FSOP) attack against glibc FILE structures (stderr), redirecting control flow to system().

Attack scenarios include CI/CD pipelines performing automated binary analysis, developer workstations running objdump/readelf on untrusted binaries, automated security scanning or malware analysis tools invoking binutils, and package build systems processing third-party code.

Note: This vulnerability is only exploitable when binutils is built with the DLX backend enabled (typically via --enable-targets=all).
Published: 2026-07-29
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An out‑of‑bounds write was identified in the DLX ELF backend of GNU binutils, where the function that translates ELF relocation types into internal data structures does not properly validate external relocation type values. A crafted ELF/DLX object file can trigger this flaw, allowing an attacker to overwrite memory in the binutils process. The vulnerability has been demonstrated to achieve arbitrary code execution through a file‑stream oriented programming attack against the glibc FILE structures used for standard error, effectively redirecting execution flow to a system call.

Affected Systems

Red Hat Enterprise Linux 6, 7, 8, 9 and 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 are affected when provided with the default binutils build that includes the DLX backend. The flaw is relevant for any tool that consumes binaries via binutils – including objdump, readelf, strip, ld, nm, and objcopy – when they are given a malicious ELF/DLX object.

Risk and Exploitability

The CVSS score of 7.8 reflects a high impact severity, while the EPSS score is below 1 % indicating that widespread exploitation is unlikely but still possible, especially in automated build pipelines or malware analysis environments that process untrusted binaries. The issue is not listed in the CISA Known Exploited Vulnerabilities catalog, which typically means no active widespread exploitation has been documented. An attacker needs only to supply a specially crafted object file to a vulnerable binutils tool; no additional privileges or network access are required beyond the ability to run the tool on the target system.

Generated by OpenCVE AI on August 4, 2026 at 12:31 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.


OpenCVE Recommended Actions

  • Apply any vendor‑supplied update when it becomes available.
  • No approved workaround is available that meets Red Hat Product Security criteria; currently no effective temporary measure exists.
  • Restrict usage of binutils tools to trusted binaries or remove them from automated scanning and CI/CD pipelines that process untrusted code.
  • Rebuild binutils without the DLX backend (omit –enable‑targets=all) or limit targets to those strictly needed for your environment.

Generated by OpenCVE AI on August 4, 2026 at 12:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 30 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Gnu
Gnu binutils
Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Gnu
Gnu binutils
Redhat hardened Images
Redhat openshift Container Platform

Wed, 29 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Wed, 29 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
Description An out-of-bounds write vulnerability was found in the BFD library's DLX ELF backend (bfd/elf32-dlx.c) in GNU binutils. The dlx_rtype_to_howto() function maps ELF relocation types to internal howto structures but fails to perform adequate bounds checking on attacker-controlled relocation type values (via ELF32_R_TYPE(r_info)) before indexing into the dlx_elf_howto_table[] array. The DLX relocation type number space is non-contiguous (basic types 0-6, extended types at 0x10000+), but the default case in the switch statement allows arbitrary index values to reach the array access. A specially crafted ELF/DLX object file can trigger this out-of-bounds write when processed by any BFD-consuming tool (objdump, readelf, strip, ld, nm, objcopy). The vulnerability has been demonstrated to achieve arbitrary code execution via a File Stream Oriented Programming (FSOP) attack against glibc FILE structures (stderr), redirecting control flow to system(). Attack scenarios include CI/CD pipelines performing automated binary analysis, developer workstations running objdump/readelf on untrusted binaries, automated security scanning or malware analysis tools invoking binutils, and package build systems processing third-party code. Note: This vulnerability is only exploitable when binutils is built with the DLX backend enabled (typically via --enable-targets=all).
Title Binutils: binutils: out-of-bounds write in bfd dlx elf backend relocation processing
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-787
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Gnu Binutils
Redhat Enterprise Linux Hardened Images Hummingbird Openshift Openshift Container Platform
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-29T12:12:53.713Z

Reserved: 2026-07-29T09:38:32.878Z

Link: CVE-2026-18220

cve-icon Vulnrichment

Updated: 2026-07-29T12:12:28.604Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-29T11:16:49.097

Modified: 2026-07-30T14:15:31.167

Link: CVE-2026-18220

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-29T09:42:36Z

Links: CVE-2026-18220 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T12:45:05Z

Weaknesses