| Name | CVE-2026-54620 |
| Description | sqlite3 provides Ruby bindings for the SQLite3 embedded database. From 2.1.0 to 2.9.4, the callbacks used for SQLite aggregate functions can be freed while still referenced during aggregation, resulting in a use-after-free. This issue is fixed in version 2.9.5. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ruby-sqlite3 (PTS) | bullseye | 1.4.2-3 | vulnerable |
| bookworm | 1.4.2-4 | vulnerable | |
| trixie | 1.7.3-1 | vulnerable | |
| forky, sid | 2.9.5-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ruby-sqlite3 | source | (unstable) | 2.9.5-1 |
[bookworm] - ruby-sqlite3 <postponed> (minor issue)
[bullseye] - ruby-sqlite3 <postponed> (minor issue)
https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3
https://github.com/sparklemotion/sqlite3-ruby/pull/711
Fixed by: https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726 (v2.9.5)