GHSA-mwm8-39rw-8826 — sqlite3-ruby: Use-After-Free in sqlite3 —...
sqlite3-ruby: Use-After-Free in SQLite Aggregate Arguments in Heap-Allocated Argument Array
Summary
Advisory Timeline
- First published October 2, 2026 (9 days ago).
- Last revised October 2, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install sqlite3 -v 2.9.6
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| sqlite3 | rubygems | 1.4.0, 1.4.1, 1.4.2, 1.4.3 (+57 more) | 2.9.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-416Use After FreeMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.8 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-mwm8-39rw-8826WEB
- https://github.com/sparklemotion/sqlite3-ruby/pull/733WEB
- https://github.com/sparklemotion/sqlite3-ruby/commit/cc5ac0cdf05af8148f4363410da0ba32508d9c97WEB
- https://github.com/sparklemotion/sqlite3-rubyPACKAGE
- https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.6WEB
Frequently Asked Questions
- What is GHSA-mwm8-39rw-8826?
- sqlite3-ruby: Use-After-Free in SQLite Aggregate Arguments in Heap-Allocated Argument Array This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.8/10).
- How do I check if my project is affected by GHSA-mwm8-39rw-8826?
- GHSA-mwm8-39rw-8826 affects sqlite3. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-mwm8-39rw-8826 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Related CVEs
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
- CVE-2026-54619LOW
sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity
- CVE-2026-54620LOW
sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies