CVE-2026-18220
Last modified
CVE-2026-18220 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.
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).
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Hardened Images | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-18220?
How severe is CVE-2026-18220?
How do I fix CVE-2026-18220?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-18211A flaw was found in the secure-client-uris client policy exe…5.4
- CVE-2026-18214Keycloak allows users to log in using Google accounts and ca…8.1
- CVE-2026-18215Keycloak provides a way to let users log in using Microsoft …8.1
- CVE-2026-18217A flaw was found in the SAML protocol implementation of Keyc…4.7
- CVE-2026-18218A flaw was found in the TokenManager component of the Keyclo…5.4
- CVE-2026-1822The WP NG Weather plugin for WordPress is vulnerable to Stor…6.4
- CVE-2026-1823The Consensus Embed plugin for WordPress is vulnerable to St…6.4
- CVE-2026-18230The WP Directory Kit WordPress plugin before 1.5.6 does not …
- CVE-2026-18236A vulnerability in the Agent Development Kit (ADK) allows fo…9.3
- CVE-2026-1824The Infomaniak Connect for OpenID plugin for WordPress is vu…6.4
- CVE-2026-18243Certain HP DesignJet products may be potentially vulnerable …6.9
- CVE-2026-18245Improper control of code generation in Amazon @aws-amplify/c…8.8
Are you affected by CVE-2026-18220?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
