{"id":"CVE-2026-54619","state":"PUBLISHED","title":"sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity","description":"sqlite3 provides Ruby bindings for the SQLite3 embedded database. In version 2.9.4 and earlier, redefining a SQLite function with a different arity frees the previously registered function handler while SQLite may still reference it, resulting in a use-after-free. This issue is fixed in version 2.9.5.","publishedAt":"2026-07-28T16:21:20.943Z","updatedAt":"2026-07-28T19:33:33.444Z","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.9.5","status":"affected"}]}],"references":["https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-28hh-pr2h-2w89","https://github.com/sparklemotion/sqlite3-ruby/pull/710","https://github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033","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-54619.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54619","state":"PUBLISHED","datePublished":"2026-07-28T16:21:20.943Z","dateUpdated":"2026-07-28T19:33:33.444Z","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 When Redefining SQLite Functions with Different Arity","descriptions":[{"lang":"en","value":"sqlite3 provides Ruby bindings for the SQLite3 embedded database. In version 2.9.4 and earlier, redefining a SQLite function with a different arity frees the previously registered function handler while SQLite may still reference it, resulting in a use-after-free. This issue is fixed in version 2.9.5."}],"affected":[{"vendor":"sparklemotion","product":"sqlite3-ruby","versions":[{"version":"< 2.9.5","status":"affected"}]}],"references":[{"url":"https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-28hh-pr2h-2w89","name":"https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-28hh-pr2h-2w89","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/pull/710","name":"https://github.com/sparklemotion/sqlite3-ruby/pull/710","tags":["x_refsource_MISC"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033","name":"https://github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033","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:21:20.943Z"},"source":{"advisory":"GHSA-28hh-pr2h-2w89","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-28T19:33:22.461590Z","id":"CVE-2026-54619","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-28T19:33:33.444Z"}}]}}}