CVE-2026-54620 json
sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks
published 2026-07-28 3 mo ago modified 2026-10-23 16 d ago also GHSA-j7fr-3v8c-3qc3 , EUVD-2026-49899
- cvss
- 2.0
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 3%
- public exploits
- 0
- none known
Summary
sqlite3 provides Ruby bindings for the SQLite3 embedded database. From 2.1.0 to 2.9.4, the callbacks used for SQLite aggregate functions can be freed while still referenced during aggregation, resulting in a use-after-free. This issue is fixed in version 2.9.5.
Patch / fix
- rubygems sqlite3-ruby 2.9.5
- rubygems sqlite3 2.9.5
- ruby-sqlite3 Debian 14 2.9.5-1
debian advisories DEBIAN-CVE-2026-54620
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-54620 updated cvss 4.5
sqlite3-ruby: sqlite3: sqlite3-ruby: Use-After-Free vulnerability in SQLite aggregate function callbacks
-
Red Hat Satellite 6 rubygem-sqlite3not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.0 | 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 |
| CNA | 4.0 | 2.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | sqlite3-ruby | >=2.1.0, <2.9.5 |
2.9.5 |
| rubygems | sqlite3 | >=2.1.0, <2.9.5 |
2.9.5 |
Affected products
- sparklemotion sqlite3-ruby
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/sparklemotion/sqlite3-ruby/pull/711
web
-
github.com
/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726
web
-
github.com
/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3
web
-
github.com
/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/sqlite3/CVE-2026-54620.yml
web
-
github.com
/sparklemotion/sqlite3-ruby
package
-
cve.org
/CVERecord/SearchResults?query=CVE-2026-54620
web
Sources
- CVE List CVE-2026-54620
- GitHub Advisory GHSA-j7fr-3v8c-3qc3
- NVD CVE-2026-54620
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.