{"id":"CVE-2026-54619","published":"2026-07-28T16:21:20Z","modified":"2026-07-28T19:33:33Z","title":"sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity","vendor":"sparklemotion","product":"sqlite3-ruby","tier":"tail","description":{"text":"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.","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-28hh-pr2h-2w89","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/pull/710","tags":["x_refsource_MISC"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033","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.9.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-28T19:33:22.461590Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"sqlite3-ruby","vulnerableRanges":["<2.9.5"],"patched":["2.9.5"],"from":["GHSA-28hh-pr2h-2w89"],"provenance":"source"},{"ecosystem":"RubyGems","package":"sqlite3","vulnerableRanges":["<2.9.5"],"patched":["2.9.5"],"from":["GHSA-28hh-pr2h-2w89"],"provenance":"source"}],"summary":{"text":"The sqlite3-ruby library, the Ruby bindings for the SQLite3 embedded database, contains a use-after-free flaw: 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. An attacker with local access and low privileges, using a high-complexity path that requires no user interaction, could corrupt memory and cause loss of confidentiality, integrity and availability within the vulnerable component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:49Z"},"euvd":{"id":"EUVD-2026-49896","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sparklemotion-sqlite3-ruby-cve-2026-54619","children":[{"from":"CVE-2026-54619","to":"CVE-2026-128084","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:sqlite3","fromFixed":"2.9.5","toFixed":"2.10.2","daysApart":108},{"kind":"same-code","provenance":"machine","files":["ext/sqlite3/database.c"],"commits":["https://github.com/sparklemotion/sqlite3-ruby/commit/41059aa3ccc2c0f910d6df4fccfe36b3c3c6c649","https://github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-54619","published":"2026-07-28","fixed":"2.9.5","kev":false},{"cve":"CVE-2026-54620","published":"2026-07-28","fixed":"2.9.5","kev":false},{"cve":"CVE-2026-128084","published":"2026-11-13","fixed":"2.10.2","kev":false}],"package":"RubyGems:sqlite3"}}