CVE-2026-54619
sqlite3-ruby: sqlite3: sqlite3-ruby: Use-after-free when redefining SQLite functions with different arity
Overview
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.
Source: OX vulnerability database
Severity
4.5 · LOW
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness: CWE-416
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | sqlite3 | <2.9.5 | 2.9.5 |
| RubyGems | sqlite3-ruby | <2.9.5 | 2.9.5 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | rubygem-sqlite3 | affected |
| 7 (satellite:el8) | rubygem-sqlite3 | affected |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-sqlite3 | affected |
| 12 | ruby-sqlite3 | affected |
| 13 | ruby-sqlite3 | affected |
| 14 | ruby-sqlite3 | 2.9.5-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-sqlite3 | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-54619
- advisories.gitlab.com https://advisories.gitlab.com/gem/sqlite3/CVE-2026-54619
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite3/CVE-2026-54619.yml
- github.com https://github.com/sparklemotion/sqlite3-ruby
- github.com https://github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033
- github.com https://github.com/sparklemotion/sqlite3-ruby/pull/710
- github.com https://github.com/sparklemotion/sqlite3-ruby/pull/711
- github.com https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5
- github.com https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-28hh-pr2h-2w89
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-54619
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.