CVE-2026-128084

GHSA-4fqr-96q8-xrfx · published 13 Nov 2026 · updated 18 Nov 2026

sqlite3-ruby: SQL Query Truncation

4.8MediumCVSS 4.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in sqlite3 2.10.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
sparklemotion<2.10.2
rubygems: sqlite3<=2.10.12.10.2

Coverage

News and research mentioning this CVE

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-128084 severity on Zeptric[![CVE-2026-128084](https://zeptric.io/badge/cve/CVE-2026-128084.svg)](https://zeptric.io/cve/CVE-2026-128084)