
CVE catalog
CVE-2026-54620
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, resulti
- Severity
- Medium · CVSS 4.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-sqlite3 | sid | 2.9.6-2 | fixed |
| Debian | ruby-sqlite3 | forky | 2.9.6-2 | fixed |
| Debian | ruby-sqlite3 | trixie | 1.7.3-1 | vulnerable |
| Debian | ruby-sqlite3 | bookworm | 1.4.2-4 | vulnerable |
| Rubygems | sqlite3-ruby | Not reported | 2.9.5 | fixed |
| Rubygems | sqlite3 | Not reported | 2.9.5 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-sqlite3 | source | sid | 2.9.5-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-sqlite3 | source | forky | 2.9.5-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-sqlite3 | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | ruby-sqlite3 | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Rubygems | sqlite3-ruby | rubygems | Not reported | 2.9.5 | Not reported | Not reported | Not reported |
| Rubygems | sqlite3 | rubygems | Not reported | 2.9.5 | Not reported | Not reported | Not reported |
Notes
[trixie] ruby-sqlite3: Minor issue [bookworm] ruby-sqlite3: minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-sqlite3]Affected
Source package: [ruby-sqlite3]
Details (2)
1.4.2-4+b3· amd64 · bookwormAffected
nvd · ruby-sqlite3 · debian · bookworm; nvd · ruby-sqlite3 · debian · 12
1.4.2-4+b3· arm64 · bookwormAffected
nvd · ruby-sqlite3 · debian · bookworm; nvd · ruby-sqlite3 · debian · 12
[Debian 13 (Trixie)]
- [ruby-sqlite3]Affected
Details (2)
1.7.3-1· amd64 · trixieAffected
nvd · ruby-sqlite3 · debian · 13
1.7.3-1· arm64 · trixieAffected
nvd · ruby-sqlite3 · debian · 13
Observed:
References
- [https://github.com/advisories/GHSA-j7fr-3v8c-3qc3]
- [https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726]
- [https://github.com/sparklemotion/sqlite3-ruby/pull/711]
- [https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5]
- [https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-54620]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-54620]
- [https://security-tracker.debian.org/tracker/CVE-2026-54620]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54620.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]