{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54620","id":"CVE-2026-54620","title":"sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks","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.","descriptionLong":"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","updated":"2026-11-11T13:25:16.154039488Z","reserved":"2026-06-15T20:07:02.184Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2,"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2,"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"low","source":"GitHub"}],"rating":"low","products":["sparklemotion sqlite3-ruby"],"affectedProducts":[{"vendor":"sparklemotion","product":"sqlite3-ruby","defaultStatus":null,"versions":[{"version":">= 2.1.0, < 2.9.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"sqlite3-ruby","purl":"pkg:gem/sqlite3-ruby","ranges":[">=2.1.0 <2.9.5"],"fixed":["2.9.5"],"advisory":"GHSA-j7fr-3v8c-3qc3"},{"ecosystem":"RubyGems","name":"sqlite3","purl":"pkg:gem/sqlite3","ranges":[">=2.1.0 <2.9.5"],"fixed":["2.9.5"],"advisory":"GHSA-j7fr-3v8c-3qc3"}],"cwes":["CWE-416"],"aliases":["GHSA-j7fr-3v8c-3qc3"],"references":[{"url":"https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/pull/711","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54620.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54620","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite3/CVE-2026-54620.yml","tags":["web"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby","tags":["package"]},{"url":"https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54620","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00142,"epssPercentile":0.03576,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54620","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54620","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54620","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j7fr-3v8c-3qc3","ok":true,"note":"GHSA-j7fr-3v8c-3qc3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54620","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}