{"id":"CVE-2026-54620","published":"2026-07-28T16:23:38Z","modified":"2026-07-28T17:27:04Z","title":"sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks","vendor":"sparklemotion","product":"sqlite3-ruby","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00142,"percentile":0.01757,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/pull/711","tags":["x_refsource_MISC"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726","tags":["x_refsource_MISC"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5","tags":["x_refsource_MISC"]}],"priority":{"score":1.8,"factors":[{"name":"EPSS percentile","points":0.35},{"name":"CVSS severity","points":1.4}]},"vendorSlug":"sparklemotion","affectedVersions":[{"vendor":"sparklemotion","product":"sqlite3-ruby","versions":[">= 2.1.0, < 2.9.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-28T17:26:57.162213Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"sqlite3-ruby","vulnerableRanges":[">=2.1.0, <2.9.5"],"patched":["2.9.5"],"from":["GHSA-j7fr-3v8c-3qc3"],"provenance":"source"},{"ecosystem":"RubyGems","package":"sqlite3","vulnerableRanges":[">=2.1.0, <2.9.5"],"patched":["2.9.5"],"from":["GHSA-j7fr-3v8c-3qc3"],"provenance":"source"}],"summary":{"text":"The sqlite3-ruby library, which provides Ruby bindings for SQLite3, contains a use-after-free flaw in the callbacks used for SQLite aggregate functions, where a callback can be freed while still referenced during aggregation. An attacker needs local access with low privileges, and exploitation is considered high complexity and requires no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:49Z"},"euvd":{"id":"EUVD-2026-49899","exploited":false,"provenance":"source"}}