Vulnerability · Published Jul 28, 2026 · Assigned by GitHub_M
CVE-2026-54619sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity
Low 2.0
In plain English
A low-severity use-after-free in sqlite3-ruby from sparklemotion. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ruby-sqlite3 | no fix listed | DEBIAN-CVE-2026-54619 |
| Debian:13 | ruby-sqlite3 | no fix listed | DEBIAN-CVE-2026-54619 |
| Debian:14 | ruby-sqlite3 | 2.9.5-1 | DEBIAN-CVE-2026-54619 |
| RubyGems | sqlite3 | 2.9.5 | GHSA-28hh-pr2h-2w89 |
| RubyGems | sqlite3-ruby | 2.9.5 | GHSA-28hh-pr2h-2w89 |
| Ubuntu:22.04:LTS | ruby-sqlite3 | no fix listed | UBUNTU-CVE-2026-54619 |
| Ubuntu:24.04:LTS | ruby-sqlite3 | no fix listed | UBUNTU-CVE-2026-54619 |
| Ubuntu:26.04:LTS | ruby-sqlite3 | no fix listed | UBUNTU-CVE-2026-54619 |
| Ubuntu:26.10 | ruby-sqlite3 | no fix listed | UBUNTU-CVE-2026-54619 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sparklemotion | sqlite3-ruby | < 2.9.5 |
Weakness: CWE-416 · Vector: 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
References
- https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-28hh-pr2h-2w89 x_refsource_CONFIRM
- https://github.com/sparklemotion/sqlite3-ruby/pull/710 x_refsource_MISC
- https://github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033 x_refsource_MISC
- https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5 x_refsource_MISC