CVE-2026-54620: CWE-416: Use After Free in sparklemotion sqlite3-ruby
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.
AI Analysis
Technical Summary
The sqlite3-ruby library, which provides Ruby bindings for the SQLite3 embedded database, suffers from a use-after-free vulnerability (CWE-416) in its handling of aggregate function callbacks. Specifically, in versions 2.1.0 through 2.9.4, these callbacks may be freed while still being referenced during aggregation operations, potentially leading to undefined behavior or crashes. This issue was resolved in version 2.9.5.
Potential Impact
The vulnerability may cause application instability or crashes due to use-after-free memory access when using SQLite aggregate functions via the sqlite3-ruby bindings. The low CVSS score (2.0) and vector indicate that exploitation requires local access with high attack complexity and low privileges, limiting the impact scope.
Mitigation Recommendations
Upgrade sqlite3-ruby to version 2.9.5 or later, where this use-after-free vulnerability is fixed. No other official remediation or temporary fixes are indicated. Patch status is not explicitly confirmed in the vendor advisory, but the description states the issue is fixed in 2.9.5.
CVE-2026-54620: CWE-416: Use After Free in sparklemotion sqlite3-ruby
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.
CVSS v4.0
Score 2.0low
Affected software
sparklemotion
sqlite3-ruby
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The sqlite3-ruby library, which provides Ruby bindings for the SQLite3 embedded database, suffers from a use-after-free vulnerability (CWE-416) in its handling of aggregate function callbacks. Specifically, in versions 2.1.0 through 2.9.4, these callbacks may be freed while still being referenced during aggregation operations, potentially leading to undefined behavior or crashes. This issue was resolved in version 2.9.5.
Potential Impact
The vulnerability may cause application instability or crashes due to use-after-free memory access when using SQLite aggregate functions via the sqlite3-ruby bindings. The low CVSS score (2.0) and vector indicate that exploitation requires local access with high attack complexity and low privileges, limiting the impact scope.
Mitigation Recommendations
Upgrade sqlite3-ruby to version 2.9.5 or later, where this use-after-free vulnerability is fixed. No other official remediation or temporary fixes are indicated. Patch status is not explicitly confirmed in the vendor advisory, but the description states the issue is fixed in 2.9.5.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T20:07:02.184Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a68de689c2644c7f8e9c226
Added to database: 07/28/2026, 16:52:56 UTC
Last enriched: 07/29/2026, 23:32:08 UTC
Last updated: 09/10/2026, 20:01:14 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.