{"schemaVersion":3,"id":"CVE-2026-40517","aliases":["UBUNTU-CVE-2026-40517"],"status":"published","duplicateOf":null,"title":null,"description":"radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by crafting a malicious PDB file with newline characters in symbol names. Attackers can inject arbitrary radare2 commands through unsanitized symbol name interpolation in the flag rename command, which are then executed when a user runs the idp command against the malicious PDB file, enabling arbitrary OS command execution through radare2's shell execution operator.","dates":{"published":"2026-04-22T21:44:12.543Z","modified":"2026-07-14T20:00:31.360Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.4,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/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.4,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/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.4,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/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.4,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/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.01721,"percentile":0.7714,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.6699999999999999,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01051},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01721,"percentile":0.7714}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01051,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01721,"percentile":0.7714}]},"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":"REF_EE227D84906DC6CB","name":"Exploit Reference (blog.calif.io)","source":"reference","url":"https://blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"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":2,"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.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.4","eol":null,"hubHref":"/vendor/radare/radare2"},{"vendor":"radareorg","product":"radare2","name":"radare2","label":"radare2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.4","eol":null,"hubHref":"/vendor/radareorg/radare2"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero","label":"blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero","hostname":"blog.calif.io","tags":["Technical Description","Exploit","Third Party Advisory"]},{"url":"https://github.com/radareorg/radare2/issues/25730","label":"github.com/radareorg/radare2/issues/25730","hostname":"github.com","tags":["Issue Tracking","Exploit","Third Party Advisory"]},{"url":"https://github.com/radareorg/radare2/pull/25731","label":"github.com/radareorg/radare2/pull/25731","hostname":"github.com","tags":["Issue Tracking"]},{"url":"https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-symbol-names","label":"www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-symbol-names","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-40517","label":"ubuntu.com/security/CVE-2026-40517","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40517","label":"www.cve.org/CVERecord?id=CVE-2026-40517","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-22T21:44:12.543Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-14T20:00:31.360Z","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-20T12:20:50.104Z","stale":false,"partial":false}}