CVE-2026-54620
sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install sqlite3 -v 2.9.5
gem install sqlite3-ruby -v 2.9.5
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| sqlite3 | rubygems | 2.1.0, 2.1.1, 2.2.0, 2.3.0 (+19 more) | 2.9.5 |
| sqlite3-ruby | rubygems | All versions | 2.9.5 |
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) 4.5 score means for each attack dimension.
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
References
- https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-j7fr-3v8c-3qc3WEB
- https://github.com/sparklemotion/sqlite3-ruby/pull/711WEB
- https://github.com/sparklemotion/sqlite3-ruby/commit/b24e1e6076528b7f95f99acf7a81c70d0004c726WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite3/CVE-2026-54620.ymlWEB
- https://github.com/sparklemotion/sqlite3-rubyPACKAGE
- https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5WEB
- https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54620WEB
Frequently Asked Questions
- What is CVE-2026-54620?
- sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks This vulnerability has been assigned a severity rating of LOW (CVSS score: 4.5/10).
- How do I check if my project is affected by CVE-2026-54620?
- CVE-2026-54620 affects sqlite3 and sqlite3-ruby. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54620 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-54619LOW
sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity
- CVE-2026-61866LOW
ImageMagick: Memory Leak in JNG encoder when a blob could not be opened
- CVE-2026-61871LOW
ImageMagick: Memory Leak in ICON decoder when allocation fails
- CVE-2026-61872LOW
ImageMagick: Memory Leak in TIFF encoder when invalid tiff:tile-geometry is specified
- CVE-2026-61868LOW
ImageMagick: Memory Leak in YUV decoder when opening of blob fails
- CVE-2026-61867LOW
ImageMagick: Memory Leak in TIFF encoder when an allocation fails
- CVE-2026-61870LOW
ImageMagick: Memory leak in VIFF encoder when allocation fails
- CVE-2026-61869LOW
ImageMagick: Memory Leak in MIFF encoder when allocaton fails
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies