{"id":"CVE-2026-54620","state":"PUBLISHED","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.","publishedAt":"2026-07-28T16:23:38.389Z","updatedAt":"2026-07-28T17:27:04.382Z","severity":{"score":2,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["sparklemotion sqlite3-ruby"],"affected":[{"vendor":"sparklemotion","product":"sqlite3-ruby","versions":[{"version":">= 2.1.0, < 2.9.5","status":"affected"}]}],"references":["https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3","https://github.com/sparklemotion/sqlite3-ruby/pull/711","https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726","https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54620.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54620","state":"PUBLISHED","datePublished":"2026-07-28T16:23:38.389Z","dateUpdated":"2026-07-28T17:27:04.382Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T20:07:02.184Z"},"containers":{"cna":{"title":"sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"sparklemotion","product":"sqlite3-ruby","versions":[{"version":">= 2.1.0, < 2.9.5","status":"affected"}]}],"references":[{"url":"https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3","name":"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","name":"https://github.com/sparklemotion/sqlite3-ruby/pull/711","tags":["x_refsource_MISC"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726","name":"https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726","tags":["x_refsource_MISC"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5","name":"https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2,"baseSeverity":"LOW","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","description":"CWE-416: Use After Free","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-28T16:23:38.389Z"},"source":{"advisory":"GHSA-j7fr-3v8c-3qc3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-28T17:26:57.162213Z","id":"CVE-2026-54620","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-28T17:27:04.382Z"}}]}}}