CVE-2026-54619: CWE-416: Use After Free in sparklemotion sqlite3-ruby
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.
AI Analysis
Technical Summary
The sqlite3-ruby library, which provides Ruby bindings for the SQLite3 embedded database, contains a use-after-free vulnerability (CWE-416) in versions 2.9.4 and earlier. Specifically, redefining a SQLite function with a different arity causes the previously registered function handler to be freed prematurely, while SQLite may still hold references to it, leading to use-after-free conditions. This vulnerability is addressed and fixed in version 2.9.5.
Potential Impact
The vulnerability can lead to use-after-free conditions, which may cause application crashes or undefined behavior. Given the low CVSS score of 2.0 and the requirement for local access with high attack complexity, the impact is limited and does not indicate remote exploitation or privilege escalation.
Mitigation Recommendations
Upgrade sqlite3-ruby to version 2.9.5 or later, where this use-after-free issue is fixed. No other mitigation or temporary workaround is indicated. Patch status is confirmed by the version fix information provided.
CVE-2026-54619: CWE-416: Use After Free in sparklemotion sqlite3-ruby
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.
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, contains a use-after-free vulnerability (CWE-416) in versions 2.9.4 and earlier. Specifically, redefining a SQLite function with a different arity causes the previously registered function handler to be freed prematurely, while SQLite may still hold references to it, leading to use-after-free conditions. This vulnerability is addressed and fixed in version 2.9.5.
Potential Impact
The vulnerability can lead to use-after-free conditions, which may cause application crashes or undefined behavior. Given the low CVSS score of 2.0 and the requirement for local access with high attack complexity, the impact is limited and does not indicate remote exploitation or privilege escalation.
Mitigation Recommendations
Upgrade sqlite3-ruby to version 2.9.5 or later, where this use-after-free issue is fixed. No other mitigation or temporary workaround is indicated. Patch status is confirmed by the version fix information provided.
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: 6a68de669c2644c7f8e9c1af
Added to database: 07/28/2026, 16:52:54 UTC
Last enriched: 07/29/2026, 23:27:26 UTC
Last updated: 09/12/2026, 22:01:34 UTC
Views: 81
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.