{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.9.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033"
            },
            {
              "fixed": "747e7de5166a0329a517402144408dfe45977962"
            }
          ],
          "repo": "https://github.com/sparklemotion/sqlite3-ruby",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-28hh-pr2h-2w89"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54619.json"
  },
  "details": "sqlite3 provides Ruby bindings for the SQLite3 embedded database. In version 2.9.4 and earlier, redefining a SQLite function with a different arity frees the previously registered function handler while SQLite may still reference it, resulting in a use-after-free. This issue is fixed in version 2.9.5.",
  "id": "CVE-2026-54619",
  "modified": "2026-08-12T03:51:26.265469235Z",
  "published": "2026-07-28T16:21:20.943Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54619.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-28hh-pr2h-2w89"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54619"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sparklemotion/sqlite3-ruby/pull/710"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity"
}