{"schemaVersion":3,"id":"CVE-2026-40527","aliases":["UBUNTU-CVE-2026-40527"],"status":"published","duplicateOf":null,"title":null,"description":"radare2 prior to commit bc5a890 contains a command injection vulnerability in the afsv/afsvj command path where crafted ELF binaries can embed malicious r2 command sequences as DWARF DW_TAG_formal_parameter names. Attackers can craft a binary with shell commands in DWARF parameter names that execute when radare2 analyzes the binary with aaa and subsequently runs afsvj, allowing arbitrary shell command execution through the unsanitized parameter interpolation in the pfq command string.","dates":{"published":"2026-04-17T20:25:20.143Z","modified":"2026-07-14T20:00:37.912Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.5,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.5,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"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":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.5,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"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":"4.0","versionLabel":"v4.0","source":"NVD","score":8.5,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"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.01452,"percentile":0.7302,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.5369999999999999,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00915},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01452,"percentile":0.7302}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00915,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01452,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01452,"percentile":0.7302}]},"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":[{"id":"GITHUB_RADAREORG_RADARE2","name":"Radare2","source":"github","url":"https://github.com/radareorg/radare2/issues/23953#issue-2844325926","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"ubuntu","product":"radare2","name":"radare2","label":"radare2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/radare2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"radare","product":"radare2","name":"radare2","label":"radare2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.1.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.6","eol":null,"hubHref":"/vendor/radare/radare2"},{"vendor":"radareorg","product":"radare2","name":"radare2","label":"radare2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683","noFixRecorded":false,"fixedIn":null}],"versionsText":"< bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683","eol":null,"hubHref":"/vendor/radareorg/radare2"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/radareorg/radare2/pull/25821","label":"github.com/radareorg/radare2/pull/25821","hostname":"github.com","tags":["Issue Tracking","REPORT","Exploit","Patch"]},{"url":"https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683","label":"github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names","label":"www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-40527","label":"ubuntu.com/security/CVE-2026-40527","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40527","label":"www.cve.org/CVERecord?id=CVE-2026-40527","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21988-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21988-1"]},"timeline":[{"kind":"published","date":"2026-04-17T20:25:20.143Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-14T20:00:37.912Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":44,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:36:58.825Z","stale":false,"partial":false}}