GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
ubuntu-cve-2026-40499
Vulnerability from osv_ubuntu
Published
2026-04-15 04:17
Modified
2026-05-20 15:27
Summary
Details

radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.


{
  "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 version 6.1.4 contains a command injection vulnerability in the PDB parser\u0027s print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.",
  "id": "UBUNTU-CVE-2026-40499",
  "modified": "2026-05-20T15:27:26Z",
  "published": "2026-04-15T04:17:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-40499"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-40499"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/radareorg/radare2/pull/25731"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/radareorg/radare2/issues/25752"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "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": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-40499"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…