{"id":"CVE-2026-54620","aliases":["GHSA-j7fr-3v8c-3qc3"],"url":"https://o3.security/vulnerability/CVE-2026-54620","summary":"sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks","details":"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.","published":"2026-07-28T16:23:38.389Z","modified":"2026-08-12T16:41:16.326106Z","cvss":null,"epss":{"score":0.00107,"percentile":0.01248,"asOf":"2026-09-13"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"sqlite3-ruby","fixedVersion":"2.9.5"},{"ecosystem":"RubyGems","name":"sqlite3","fixedVersion":"2.9.5"}],"fix":{"url":"https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726","label":"sparklemotion/sqlite3-ruby@b24e1e6"},"references":[{"type":"WEB","url":"https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54620.json"},{"type":"ADVISORY","url":"https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54620"},{"type":"FIX","url":"https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726"},{"type":"FIX","url":"https://github.com/sparklemotion/sqlite3-ruby/pull/711"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T16:41:16.326106Z"}}