CVE-2026-54620

sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks

Published Jul 28, 2026 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j7fr-3v8c-3qc3 sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks
History
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Sparklemotion
Sparklemotion sqlite3-ruby
Vendors & Products Sparklemotion
Sparklemotion sqlite3-ruby
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks
Weaknesses CWE-416
References
Metrics cvssV4_0

{'score': 2, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 28, 2026, 5:27 PM
Reserved
Jun 15, 2026, 8:07 PM
Status
Awaiting Analysis
Published
Jul 28, 2026, 5:16 PM
Modified
Oct 23, 2026, 11:10 PM
Severity
Moderate
Public date
Jul 28, 2026, 4:23 PM