Skip to content
Heist/ feed
Back to feed
Low

radare2 — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-5646

A vulnerability has been found in Radare2 5.9.9 and classified as problematic. This vulnerability affects the function r_cons_rainbow_free in the library /libr/cons/pal.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. It is possible to launch the attack on the local host. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The patch is identified as 5705d99cc1f23f36f9a84aab26d1724010b97798. It is recommended to apply a patch to fix this issue. The documentation explains that the parameter -T is experimental and "crashy". Further analysis has shown "the race is not a real problem unless you use asan". A new warning has been added.

Products
radare2
Affected versions
0.9.6-3.1ubuntu1, 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, 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, 5.5.0+dfsg-1.1ubuntu2, 5.5.0+dfsg-1.1ubuntu3, 5.5.0+dfsg-1.1ubuntu3+esm1, 5.5.0+dfsg-1ubuntu1, 5.9.8+dfsg-2, 5.9.8+dfsg-2ubuntu0.25.10.1, 5.9.8+dfsg-2ubuntu0.25.10.2, 6.0.4+dfsg-1, 6.0.7+ds-1, 6.1.6+ds-2, 6.1.6+ds-3, 6.1.8+ds-1
Fixed versions
Not specified
CVEs
CVE-2025-5646
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:34 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-5646

core-osv · Original source

Published 5 Jun 2025, 08:15 UTC

A vulnerability has been found in Radare2 5.9.9 and classified as problematic. This vulnerability affects the function r_cons_rainbow_free in the library /libr/cons/pal.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. It is possible to launch the attack on the local host. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The patch is identified as 5705d99cc1f23f36f9a84aab26d1724010b97798. It is recommended to apply a patch to fix this issue. The documentation explains that the parameter -T is experimental and "crashy". Further analysis has shown "the race is not a real problem unless you use asan". A new warning has been added.

osv:UBUNTU-CVE-2025-5646

radare2

Fixed versions: Not specified

radare2

Fixed versions: Not specified

radare2

Fixed versions: Not specified

radare2

Fixed versions: Not specified

radare2

Fixed versions: Not specified

radare2

Fixed versions: Not specified

radare2

Fixed versions: Not specified

Complete source record
{
  "id": "82a87a9fd6d9b24464207ac511c6780d9e9d356b5381728b4e4d23a7cbf49967",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-5646",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-5646",
    "summary": "A vulnerability has been found in Radare2 5.9.9 and classified as problematic. This vulnerability affects the function r_cons_rainbow_free in the library /libr/cons/pal.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. It is possible to launch the attack on the local host. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The patch is identified as 5705d99cc1f23f36f9a84aab26d1724010b97798. It is recommended to apply a patch to fix this issue. The documentation explains that the parameter -T is experimental and \"crashy\". Further analysis has shown \"the race is not a real problem unless you use asan\". A new warning has been added.",
    "evidence": "osv:UBUNTU-CVE-2025-5646",
    "products": [
      {
        "name": {
          "value": "radare2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.6-3.1ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "radare2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.6.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.0.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.3.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.3.0+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.3.0+dfsg-2ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "radare2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.1+dfsg-5build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.0.0+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.2.1+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.2.1+dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.2.1+dfsg-2ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "radare2",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.5.0+dfsg-1ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.5.0+dfsg-1.1ubuntu2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.5.0+dfsg-1.1ubuntu3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.5.0+dfsg-1.1ubuntu3+esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "radare2",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.9.8+dfsg-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.9.8+dfsg-2ubuntu0.25.10.1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.9.8+dfsg-2ubuntu0.25.10.2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "radare2",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.0.7+ds-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "6.1.6+ds-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "6.1.6+ds-3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "6.1.8+ds-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "radare2",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.9.8+dfsg-2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "6.0.4+dfsg-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "6.0.7+ds-1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "low",
    "structured": {
      "id": "UBUNTU-CVE-2025-5646",
      "aliases": [
        "UBUNTU-CVE-2025-5646"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "radare2",
            "purl": "pkg:deb/ubuntu/radare2?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.9.6-3.1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5646.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "radare2",
            "purl": "pkg:deb/ubuntu/radare2?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5646.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "radare2",
            "purl": "pkg:deb/ubuntu/radare2?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5646.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "radare2",
            "purl": "pkg:deb/ubuntu/radare2?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5646.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "radare2",
            "purl": "pkg:deb/ubuntu/radare2?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "5.9.8+dfsg-2",
            "5.9.8+dfsg-2ubuntu0.25.10.1",
            "5.9.8+dfsg-2ubuntu0.25.10.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5646.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "radare2",
            "purl": "pkg:deb/ubuntu/radare2?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "6.0.7+ds-1",
            "6.1.6+ds-2",
            "6.1.6+ds-3",
            "6.1.8+ds-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5646.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libradare2-6.0.0t64",
                "binary_version": "6.1.8+ds-1"
              },
              {
                "binary_name": "libradare2-common",
                "binary_version": "6.1.8+ds-1"
              },
              {
                "binary_name": "radare2",
                "binary_version": "6.1.8+ds-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "radare2",
            "purl": "pkg:deb/ubuntu/radare2?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "5.9.8+dfsg-2",
            "6.0.4+dfsg-1",
            "6.0.7+ds-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5646.json"
          },
          "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"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:09.101180021Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-5646"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-5646",
        "https://www.cve.org/CVERecord?id=CVE-2025-5646",
        "https://github.com/radareorg/radare2/issues/24235",
        "https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798",
        "https://drive.google.com/file/d/1PYNtV7Kx2OEgM9Cemb5FBlMJH_J1wux0/view?usp=sharing",
        "https://github.com/radareorg/radare2/issues/24235#issuecomment-2918847213",
        "https://vuldb.com/?ctiid.311134",
        "https://vuldb.com/?id.311134",
        "https://vuldb.com/?submit.586923"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-5646",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356802,
  "published_at": "2025-06-05T08:15:00+00:00"
}