Skip to content

← Public intelligence

RubyGems package

sqlite3-ruby

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Low, CVSS 2.0RubyGemsAmendedPublished

    sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks

    CVE-2026-54620 · GHSA-j7fr-3v8c-3qc3

    Affected
    • RubyGems sqlite3-ruby >= 2.1.0, <= 2.9.4
    Fixed in
    2.9.5· Vendor fix available
    Issue
    Using Database#createaggregate, #createaggregatehandler, or Database#defineaggregator to define an aggregate function, and then using an open statement calling that function after the database has been explicitly closed will result in an invalid memory read and a segmentation fault. Mitigation Upgrade to sqlite3 gem v2.9.5 or later. As a workaround, avoid using an aggregate function after closing the database. Severity The sqlite3-ruby maintainers assess this as Low severity. It is reliably triggered after GC when code is structured in a particular way. There is no known general exploit that could be used as a denial of service attack.

    Recommended action: Upgrade to 2.9.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Low, CVSS 2.0RubyGemsAmendedPublished

    sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity

    CVE-2026-54619 · GHSA-28hh-pr2h-2w89

    Affected
    • RubyGems sqlite3-ruby <= 2.9.4
    Fixed in
    2.9.5· Vendor fix available
    Issue
    Using Database#createfunction or Database#definefunction to define the same function name more than once with different numbers of arguments ("arity") or text encodings will result in a invalid memory read and a segmentation fault. Mitigation Upgrade to sqlite3 gem v2.9.5 or later. As a workaround, avoid defining multiple custom functions with the same name (varying numbers of arguments or encoding). Severity The sqlite3-ruby maintainers assess this as Low severity. It is reliably triggered after GC when code is structured in a particular way. There is no known general exploit that could be used as a denial of service attack.

    Recommended action: Upgrade to 2.9.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. UnratedRubyGemsPublished

    sqlite3-ruby uses weak permissions for unspecified files, which allows local users to gain privileges

    CVE-2011-0995 · GHSA-6x46-7rrv-m4h8

    Affected
    • RubyGems sqlite3-ruby < 1.2.4
    Fixed in
    1.2.4· Vendor fix available
    Issue
    The sqlite3-ruby gem in the rubygem-sqlite3 package before 1.2.4-0.5.1 in SUSE Linux Enterprise (SLE) 11 SP1 uses weak permissions for unspecified files, which allows local users to gain privileges via unknown vectors.

    Recommended action: Upgrade to 1.2.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →