CVE-2026-128084sparklemotion sqlite3-ruby
Medium 4.8 No auth needed
- Priority
- 47
- CVSS 3.1
- 4.8
- EPSS
- —
- Auth required
- No
- Published
- Nov 13, 2026
- Updated
- Nov 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-681
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
sqlite3 provides Ruby bindings for the SQLite3 embedded database. Prior to 2.10.2, sqlite3-ruby casts Ruby string lengths to int before passing SQL through Database#prepare, bound String or Blob values through Statement#bind_param, and String or Blob results from Ruby-defined SQL functions and aggregates through Database#create_function and Database#create_aggregate. On 64-bit platforms, a string of 4 GiB (2^32 bytes) or larger can wrap the length so SQLite processes only a prefix. A truncated SQL string can drop trailing clauses such as a WHERE condition, while a truncated bound value matters only when the application validated the full value before binding it. Exploitation requires the application and server to accept and retain the unusually large attacker-controlled string. If a dropped SQL clause contained a bind placeholder, binding raises SQLite3::RangeException instead of running the query. This issue is fixed in version 2.10.2.
What to do
- Apply the vendor's security update for sqlite3-ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | sqlite3 |
< 2.10.2 |
2.10.2 |
gem "sqlite3", ">= 2.10.2" |
Per OSV / GitHub Advisories (GHSA-4fqr-96q8-xrfx). Check the version in your lockfile before upgrading.
Affected products
- sparklemotion · sqlite3-ruby
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.