CVE-2026-54619
CVE-2026-54619 · sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity
CVSS 2.0 · Low · EPSS 0.1% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- sqlite3-rubyNo fix published
- ruby-sqlite3 Debian 12No fix published
- ruby-sqlite3 Debian 13No fix published
- ruby-sqlite3 Debian 14Update to 2.9.5-1
- and 9 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-sqlite3"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
sqlite3-ruby
- Versions
- < 2.9.5: Affected
No fix published
ruby-sqlite3 Debian 12
- Versions
- 1.4.2-4
- 1.6.9-1
- 1.6.9-2
- 1.7.3-1
- 1.7.3-2
- 2.10.0-1~exp1
All versions (13)
- 2.9.0-1
- 2.9.1-1
- 2.9.3-1
- 2.9.5-1
- 2.9.5-2
- 2.9.6-1
- 2.9.6-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-sqlite3 Debian 13
- Versions
- 1.7.3-1
- 1.7.3-2
- 2.10.0-1~exp1
- 2.9.0-1
- 2.9.1-1
- 2.9.3-1
All versions (10)
- 2.9.5-1
- 2.9.5-2
- 2.9.6-1
- 2.9.6-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-sqlite3 Debian 14
- Versions
- 1.7.3-1
- 1.7.3-2
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.3
- 2.9.4
- Affected ranges
- ECOSYSTEM: < 2.9.5
Update to 2.9.5
ruby-sqlite3 Ubuntu 16.04 LTS
- Versions
- 1.3.10-1
- 1.3.11-1
- 1.3.11-1build1
- 1.3.11-2
- 1.3.11-2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-sqlite3 Ubuntu 18.04 LTS
- Versions
- 1.3.13-1
- 1.3.13-1build1
- 1.3.13-1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-sqlite3 Ubuntu 20.04 LTS
- Versions
- 1.3.13-1build2
- 1.4.2-2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-sqlite3 Ubuntu 22.04 LTS
- Versions
- 1.4.2-3
- 1.4.2-3build1
- 1.4.2-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-sqlite3 Ubuntu 24.04 LTS
- Versions
- 1.4.2-4build2
- 1.4.2-4build3
- 1.4.2-4build4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-sqlite3 Ubuntu 26.10
- Versions
- 1.7.3-2
- 2.9.5-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-sqlite3 Ubuntu 26.04 LTS
- Versions
- 1.7.3-1
- 1.7.3-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-54619