{"id":"DHI-kjo3-nhc4-6owu-qcy7","summary":"An out-of-bounds write vulnerability was found in the BFD library's DLX ELF backend (bfd/elf32-dlx.c) in GNU binutils…","details":"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.\n\nA 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().\n\nAttack 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.\n\nNote: This vulnerability is only exploitable when binutils is built with the DLX backend enabled (typically via --enable-targets=all).","modified":"2026-11-23T15:00:18.682050093Z","published":"2026-11-19T21:01:20Z","upstream":["CVE-2026-18220"],"database_specific":{"coverage_exclusions":["legacy_package_image_owner"],"coverage":"partial"},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-kjo3-nhc4-6owu-qcy7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18220"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-18220"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-18220"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-18220"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-18220"}],"affected":[{"package":{"name":"binutils","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/binutils"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.44-3dhi1"}]}],"versions":["2.44-3+deb13u0+dhi10","2.44-3+deb13u0+dhi9","2.44-3+dhi5","2.44-3+dhi6","2.44-3+dhi7","2.44-3+dhi8","2.44-3+dhi9","2.44-3dhi1","2.44-3dhi2","2.44-3dhi3","2.44-3dhi4","2.44-3dhi5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-kjo3-nhc4-6owu-qcy7.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}