Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-16718

In radare2 before 3.9.0, a command injection vulnerability exists in bin_symbols() in libr/core/cbin.c. By using a crafted executable file, it's possible to execute arbitrary shell commands with the permissions of the victim. This vulnerability is due to an insufficient fix for CVE-2019-14745 and improper handling of symbol names embedded in executables.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-16718
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:35 UTC · Revision 1

Source evidence

CVE-2019-16718

core-osv · Original source

Published 23 Sept 2019, 14:15 UTC

In radare2 before 3.9.0, a command injection vulnerability exists in bin_symbols() in libr/core/cbin.c. By using a crafted executable file, it's possible to execute arbitrary shell commands with the permissions of the victim. This vulnerability is due to an insufficient fix for CVE-2019-14745 and improper handling of symbol names embedded in executables.

osv:CVE-2019-16718
Complete source record
{
  "id": "d1221abac26c4d1050df0830b08dbc1fc98a70363630c1fc044a682c88ec5d7b",
  "url": "https://osv.dev/vulnerability/CVE-2019-16718",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-16718",
    "summary": "In radare2 before 3.9.0, a command injection vulnerability exists in bin_symbols() in libr/core/cbin.c. By using a crafted executable file, it's possible to execute arbitrary shell commands with the permissions of the victim. This vulnerability is due to an insufficient fix for CVE-2019-14745 and improper handling of symbol names embedded in executables.",
    "evidence": "osv:CVE-2019-16718",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-16718",
      "aliases": [
        "CVE-2019-16718"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/radareorg/radare2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2afe613741d07f35a5d80bc4e2dade2113ae6a74"
                },
                {
                  "fixed": "5411543a310a470b1257fb93273cdd6e8dfcb3af"
                },
                {
                  "fixed": "dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.9.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5411543a310a470b1257fb93273cdd6e8dfcb3af"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.8.0",
            "3.7.1",
            "3.7.0",
            "3.6.0",
            "3.5.1",
            "3.5.0",
            "3.4.1",
            "3.4.0",
            "3.3.0",
            "3.2.1",
            "3.2.0",
            "3.1.3",
            "3.1.2",
            "3.1.1",
            "3.1.0",
            "3.0.1",
            "3.0.0",
            "2.9.0",
            "2.8.0",
            "2.7.0",
            "2.6.9",
            "2.6.0",
            "2.5.0",
            "2.4.0",
            "2.2.0",
            "2.1.0",
            "2.0.1",
            "2.0.0",
            "1.6.0",
            "1.5.0",
            "1.4.0",
            "1.3.0",
            "1.3.0-git",
            "1.2.0",
            "1.2.0-git",
            "1.1.0",
            "1.0.2",
            "1.0.1",
            "1.0.0",
            "1.0",
            "0.10.6",
            "0.10.5",
            "0.10.4-termux4",
            "termux",
            "0.10.4",
            "0.10.3",
            "0.10.2",
            "0.10.1",
            "0.10.0",
            "radare2-windows-nightly",
            "0.9.9",
            "0.9.8",
            "0.9.8-rc4",
            "0.9.8-rc3",
            "0.9.8-rc2",
            "0.9.8-rc1",
            "0.9.7",
            "0.9.6",
            "0.9.4",
            "0.9.2",
            "0.9",
            "0.8.8",
            "0.8.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16718.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-16718-0dbcfed0",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "317488810962902592344445819136674902120",
                    "169866625871224724731512073221137884551",
                    "4269117821693612179544431679224963110",
                    "308241161931991606418629548940286326638",
                    "79127311771833399253728706101542289220",
                    "319637933649273731419112936991263528851",
                    "240612269648064862329691030475401667251",
                    "73085386569639581779180237792861462308",
                    "318526371614887852207008864056085256664",
                    "161557941339607733122696389635182555867",
                    "129292445152825761405057048662039317246",
                    "124133692657181207236947679391067088514",
                    "38530343760799359787036718555853910305",
                    "137443136584897030363067418202734259661"
                  ]
                },
                "source": "https://github.com/radareorg/radare2/commit/dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7",
                "target": {
                  "file": "libr/core/cmd.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-16718-62e7dcb3",
                "digest": {
                  "length": 366,
                  "function_hash": "280743037490226055905725479237311853190"
                },
                "source": "https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af",
                "target": {
                  "file": "libr/core/cbin.c",
                  "function": "__filterShell"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-16718-82a12b35",
                "digest": {
                  "length": 356,
                  "function_hash": "260034411749770638762262674626475980159"
                },
                "source": "https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af",
                "target": {
                  "file": "libr/core/cbin.c",
                  "function": "__filterQuotedShell"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-16718-dbd63f19",
                "digest": {
                  "length": 21772,
                  "function_hash": "243284532810005839889338553972637709995"
                },
                "source": "https://github.com/radareorg/radare2/commit/dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7",
                "target": {
                  "file": "libr/core/cmd.c",
                  "function": "r_core_cmd_subst_i"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-16718-f23e17fe",
                "digest": {
                  "length": 6729,
                  "function_hash": "2673704822781323976305842750783050620"
                },
                "source": "https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af",
                "target": {
                  "file": "libr/core/cbin.c",
                  "function": "bin_symbols"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-16718-f58cef60",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "26629979593913050824136394948263581958",
                    "265363944661202372784511328726447108520",
                    "196087913314792962461625103550267854487",
                    "221735703426535949197927758456269034458",
                    "36931061305904637821137331584243097313",
                    "95044129979965714679564635027021774328",
                    "102117031119003826815596448875140707537",
                    "192042764460574034996692861831520396425",
                    "254190525944088301019561908631374612763",
                    "210439594222495300614012499021717015591",
                    "319074680812911121623032214433013011111",
                    "227287562667788158347355795966419938344",
                    "179217010051314134020445369876468483115",
                    "20609959487657234431763969435635951488",
                    "256558726414972598923909558971908050903",
                    "75579071210590032179963523880660791748",
                    "79050911796625798115967659306742871012",
                    "61114614083136717713550040186406438590",
                    "177401642275492397547073737766579230139",
                    "121437004344586728614784867182446446135",
                    "180897627712744405325692611054485545100",
                    "306971051652392862994389404070278176331",
                    "134901848439852684576396063726356710277"
                  ]
                },
                "source": "https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af",
                "target": {
                  "file": "libr/core/cbin.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:55:32Z"
          }
        }
      ],
      "modified": "2026-10-20T13:55:32.842414403Z",
      "provider": "osv",
      "references": [
        "https://github.com/radareorg/radare2/commit/dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7",
        "https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af",
        "https://github.com/radareorg/radare2/compare/3.8.0...3.9.0"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-16718",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388384,
  "published_at": "2019-09-23T14:15:10.447+00:00"
}