{"schemaVersion":3,"id":"CVE-2026-18220","aliases":["UBUNTU-CVE-2026-18220","DEBIAN-CVE-2026-18220"],"status":"published","duplicateOf":null,"title":null,"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.\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).","dates":{"published":"2026-07-29T09:47:51.891Z","modified":"2026-07-29T12:12:53.713Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00186,"percentile":0.07717,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.10999999999999999,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00296},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00186,"percentile":0.07717}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00186,"percentile":0.07717}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"binutils","name":"binutils","label":"binutils","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/binutils","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"binutils","name":"binutils","label":"binutils","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/binutils","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-18220","label":"access.redhat.com/security/cve/CVE-2026-18220","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2507670","label":"bugzilla.redhat.com/show_bug.cgi?id=2507670","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-18220","label":"ubuntu.com/security/CVE-2026-18220","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-18220","label":"www.cve.org/CVERecord?id=CVE-2026-18220","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-18220","label":"security-tracker.debian.org/tracker/CVE-2026-18220","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11932-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11932-1"]},"timeline":[{"kind":"published","date":"2026-07-29T09:47:51.891Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-29T12:12:53.713Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:01:14.690Z","stale":false,"partial":false}}