Skip to content
OpenAdvisories
Low · 2.0 CVE-2026-54619 EUVD-2026-49896GHSA-28hh-pr2h-2w89

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

Published Jul 28, 2026 · Updated Jul 28, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
sparklemotion sqlite3-ruby < 2.9.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-sqlite3 2.9.5-1 —
Debian 13 ruby-sqlite3 No fix yet —
Debian 12 ruby-sqlite3 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ruby-sqlite3 No fix yet —
Ubuntu 26.04 LTS ruby-sqlite3 No fix yet —
Ubuntu 24.04 LTS ruby-sqlite3 No fix yet —
Ubuntu 22.04 LTS ruby-sqlite3 No fix yet —
Ubuntu 20.04 LTS ruby-sqlite3 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ruby-sqlite3 No fix yet —
Ubuntu 16.04 LTS ruby-sqlite3 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems sqlite3 < 2.9.5 2.9.5 GHSA-28hh-pr2h-2w89
RubyGems sqlite3-ruby < 2.9.5 2.9.5 GHSA-28hh-pr2h-2w89

References