Skip to content
Heist/ feed
Back to feed
Low

ruby-sqlite3 — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-54619

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.

Products
ruby-sqlite3
Affected versions
1.3.10-1, 1.3.11-1, 1.3.11-1build1, 1.3.11-2, 1.3.11-2build1, 1.3.13-1, 1.3.13-1build1, 1.3.13-1build2, 1.4.2-2build1, 1.4.2-3, 1.4.2-3build1, 1.4.2-4, 1.4.2-4build2, 1.4.2-4build3, 1.4.2-4build4, 1.7.3-1, 1.7.3-2, 2.9.5-2
Fixed versions
Not specified
CVEs
CVE-2026-54619
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:46 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-54619

core-osv · Original source

Published 28 Jul 2026, 17:16 UTC

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.

osv:UBUNTU-CVE-2026-54619

ruby-sqlite3

Fixed versions: Not specified

ruby-sqlite3

Fixed versions: Not specified

ruby-sqlite3

Fixed versions: Not specified

ruby-sqlite3

Fixed versions: Not specified

ruby-sqlite3

Fixed versions: Not specified

ruby-sqlite3

Fixed versions: Not specified

ruby-sqlite3

Fixed versions: Not specified

Complete source record
{
  "id": "3748f1c61f396f047074fdad733a6ef40415f2d1dc6ffe948256409c8f3d4e56",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54619",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-54619",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-54619",
    "products": [
      {
        "name": {
          "value": "ruby-sqlite3",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.10-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.11-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.11-1build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.11-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.11-2build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-sqlite3",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.13-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.3.13-1build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.3.13-1build2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-sqlite3",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.13-1build2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.4.2-2build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-sqlite3",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.2-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.4.2-3build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.4.2-4",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-sqlite3",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.2-4build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.4.2-4build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.4.2-4build4",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-sqlite3",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.3-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.9.5-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-sqlite3",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.3-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.7.3-2",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "low",
    "structured": {
      "id": "UBUNTU-CVE-2026-54619",
      "aliases": [
        "UBUNTU-CVE-2026-54619"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "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": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-sqlite3",
            "purl": "pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.3.10-1",
            "1.3.11-1",
            "1.3.11-1build1",
            "1.3.11-2",
            "1.3.11-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54619.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-sqlite3",
                "binary_version": "1.3.11-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-sqlite3",
            "purl": "pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.3.13-1",
            "1.3.13-1build1",
            "1.3.13-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54619.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-sqlite3",
                "binary_version": "1.3.13-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-sqlite3",
            "purl": "pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.3.13-1build2",
            "1.4.2-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54619.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-sqlite3",
                "binary_version": "1.4.2-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-sqlite3",
            "purl": "pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.4.2-3",
            "1.4.2-3build1",
            "1.4.2-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54619.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-sqlite3",
                "binary_version": "1.4.2-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-sqlite3",
            "purl": "pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.4.2-4build2",
            "1.4.2-4build3",
            "1.4.2-4build4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54619.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-sqlite3",
                "binary_version": "1.4.2-4build4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-sqlite3",
            "purl": "pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.7.3-2",
            "2.9.5-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54619.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-sqlite3",
                "binary_version": "2.9.5-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-sqlite3",
            "purl": "pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.7.3-1",
            "1.7.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54619.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-sqlite3",
                "binary_version": "1.7.3-2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:06.487858500Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-54619"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-54619",
        "https://www.cve.org/CVERecord?id=CVE-2026-54619",
        "https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-28hh-pr2h-2w89",
        "https://github.com/sparklemotion/sqlite3-ruby/pull/710"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-54619",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359305,
  "published_at": "2026-07-28T17:16:00+00:00"
}