{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5d8147f5e8b621c59ca4aa56d846d1d114f0fc8a"
            },
            {
              "fixed": "009111904807b8567262036bf45297c3da8f1c87"
            }
          ],
          "repo": "https://github.com/mrubyc/mrubyc",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A security vulnerability has been detected in mrubyc up to 3.4. This impacts the function mrbc_raw_realloc of the file src/alloc.c. Such manipulation of the argument ptr leads to null pointer dereference. An attack has to be approached locally. The name of the patch is 009111904807b8567262036bf45297c3da8f1c87. It is advisable to implement a patch to correct this issue.",
  "id": "CVE-2025-13397",
  "modified": "2026-04-01T23:10:12.916047647Z",
  "published": "2025-11-19T16:15:47.347Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?id.332925"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?submit.692130"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mrubyc/mrubyc/issues/244"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mrubyc/mrubyc/issues/244#issuecomment-3400382026"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.332925"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mrubyc/mrubyc/commit/009111904807b8567262036bf45297c3da8f1c87"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}