Read the docs
TI-2026-39450 Aliases CVE-2026-54619GHSA-28hh-pr2h-2w89

sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity

Priority LOW 10CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00142 3rd percentileScored 2026-11-07
Fix Partial sqlite3-ruby (sparklemotion): 2.9.5sqlite3-ruby (RubyGems): 2.9.5+1 more productRed Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sparklemotionsqlite3-rubybefore 2.9.52.9.5Patch availableCNA
—sqlite3-ruby (RubyGems)before 2.9.52.9.5Patch availableGHSA-28hh-pr2h-2w89
—sqlite3 (RubyGems)before 2.9.52.9.5Patch availableGHSA-28hh-pr2h-2w89
  • sqlite3-ruby Vendorsparklemotion Affected before 2.9.5 Fixed in 2.9.5 Patch available CNA
  • sqlite3-ruby (RubyGems) Vendor— Affected before 2.9.5 Fixed in 2.9.5 Patch available GHSA-28hh-pr2h-2w89
  • sqlite3 (RubyGems) Vendor— Affected before 2.9.5 Fixed in 2.9.5 Patch available GHSA-28hh-pr2h-2w89

Remediation

  • Fix · CNA sqlite3-ruby (sparklemotion) Fixed in 2.9.5
  • Fix · GHSA-28hh-pr2h-2w89 sqlite3-ruby (RubyGems) Fixed in 2.9.5 Advisory →
  • Fix · GHSA-28hh-pr2h-2w89 sqlite3 (RubyGems) Fixed in 2.9.5 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Satellite 6AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-54619
  2. 2026-10-03 Alias added: GHSA-28hh-pr2h-2w89

References

  • TI-2022-11724 Improper Handling of Unexpected Data Type in Nokogiri CVSS 3.1HIGH 8.2
  • TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
  • TI-2026-69678 Mechanize leaks credential headers to other hosts after redirects CVSS 3.1MEDIUM 6.8
  • TI-2025-05895 sparklemotion nokogiri hashmap.c hashmap_get_with_hash heap-based overflow CVSS 4.0MEDIUM 4.8
  • TI-2025-05891 sparklemotion nokogiri hashmap.c hashmap_set_with_hash heap-based overflow CVSS 4.0MEDIUM 4.8
  • TI-2019-03885 OS command injection in Nokogiri CVSS 3.1CRITICAL 9.8
See all 31 →

Sources