ubuntu-cve-2026-40517
Vulnerability from osv_ubuntu
Published
2026-04-22 22:16
Modified
2026-05-20 15:27
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libradare2-0.9.6",
            "binary_version": "0.9.6-3.1ubuntu1"
          },
          {
            "binary_name": "libradare2-common",
            "binary_version": "0.9.6-3.1ubuntu1"
          },
          {
            "binary_name": "radare2",
            "binary_version": "0.9.6-3.1ubuntu1"
          },
          {
            "binary_name": "radare2-plugins",
            "binary_version": "0.9.6-3.1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "radare2",
        "purl": "pkg:deb/ubuntu/radare2@0.9.6-3.1ubuntu1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9.6-3.1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libradare2-2.3",
            "binary_version": "2.3.0+dfsg-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libradare2-common",
            "binary_version": "2.3.0+dfsg-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "radare2",
            "binary_version": "2.3.0+dfsg-2ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "radare2",
        "purl": "pkg:deb/ubuntu/radare2@2.3.0+dfsg-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.0+dfsg-1",
        "2.0.0+dfsg-1",
        "2.1.0+dfsg-1",
        "2.3.0+dfsg-1",
        "2.3.0+dfsg-2",
        "2.3.0+dfsg-2ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libradare2-4.2.1",
            "binary_version": "4.2.1+dfsg-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libradare2-common",
            "binary_version": "4.2.1+dfsg-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "radare2",
            "binary_version": "4.2.1+dfsg-2ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "radare2",
        "purl": "pkg:deb/ubuntu/radare2@4.2.1+dfsg-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.2.1+dfsg-5build1",
        "4.0.0+dfsg-1",
        "4.2.1+dfsg-1",
        "4.2.1+dfsg-2",
        "4.2.1+dfsg-2ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libradare2-5.0.0t64",
            "binary_version": "5.5.0+dfsg-1.1ubuntu3+esm1"
          },
          {
            "binary_name": "libradare2-common",
            "binary_version": "5.5.0+dfsg-1.1ubuntu3+esm1"
          },
          {
            "binary_name": "radare2",
            "binary_version": "5.5.0+dfsg-1.1ubuntu3+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "radare2",
        "purl": "pkg:deb/ubuntu/radare2@5.5.0+dfsg-1.1ubuntu3+esm1?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.5.0+dfsg-1ubuntu1",
        "5.5.0+dfsg-1.1ubuntu2",
        "5.5.0+dfsg-1.1ubuntu3",
        "5.5.0+dfsg-1.1ubuntu3+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libradare2-5.0.0t64",
            "binary_version": "5.9.8+dfsg-2ubuntu0.25.10.2"
          },
          {
            "binary_name": "libradare2-common",
            "binary_version": "5.9.8+dfsg-2ubuntu0.25.10.2"
          },
          {
            "binary_name": "radare2",
            "binary_version": "5.9.8+dfsg-2ubuntu0.25.10.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "radare2",
        "purl": "pkg:deb/ubuntu/radare2@5.9.8+dfsg-2ubuntu0.25.10.2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.9.8+dfsg-2",
        "5.9.8+dfsg-2ubuntu0.25.10.1",
        "5.9.8+dfsg-2ubuntu0.25.10.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libradare2-6.0.0t64",
            "binary_version": "6.0.7+ds-1"
          },
          {
            "binary_name": "libradare2-common",
            "binary_version": "6.0.7+ds-1"
          },
          {
            "binary_name": "radare2",
            "binary_version": "6.0.7+ds-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "radare2",
        "purl": "pkg:deb/ubuntu/radare2@6.0.7+ds-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.9.8+dfsg-2",
        "6.0.4+dfsg-1",
        "6.0.7+ds-1"
      ]
    }
  ],
  "aliases": [],
  "details": "radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser\u0027s 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\u0027s shell execution operator.",
  "id": "UBUNTU-CVE-2026-40517",
  "modified": "2026-05-20T15:27:26Z",
  "published": "2026-04-22T22:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-40517"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-40517"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "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",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-40517"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…