Low severityNVD Advisory· Published Jul 28, 2026· Updated Jul 30, 2026
CVE-2026-54620
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
sqlite3-rubyRubyGems | >= 2.1.0, < 2.9.5 | 2.9.5 |
sqlite3RubyGems | >= 2.1.0, < 2.9.5 | 2.9.5 |
Affected products
1- Range: 2.1.0 - 2.9.4
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-j7fr-3v8c-3qc3ghsaADVISORY
- github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite3/CVE-2026-54620.ymlghsaWEB
- github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726nvdWEB
- github.com/sparklemotion/sqlite3-ruby/pull/711nvdWEB
- github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5nvdWEB
- github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3nvdWEB
- www.cve.org/CVERecord/SearchResultsghsaWEB
News mentions
0No linked articles in our index yet.