CVE-2026-128084
sqlite3-ruby query truncation drops SQL clauses in database bindings
A remote attacker can send an oversized string that drops trailing clauses like WHERE from queries.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 2.10.2 | sqlite3 · -18 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-128084 divulgada · CVSS 4.8 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
The sqlite3-ruby library, Ruby bindings for the SQLite3 database, can truncate SQL queries and some string and blob values of 4 GiB or larger on 64-bit platforms, so trailing clauses such as a WHERE condition can be dropped. An attacker can exploit this remotely, without logging in, by sending an oversized string that the application accepts and keeps.
Descripción original del registro (GitHub_M)
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
rubygemssqlite3 |
Corregida | 2.10.2 | -18 d | 2.10.2 no afectada |
2.10.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-4fqr-96q8-xrfxhttps://github.com/sparklemotion/sqlite3-ruby/pull/762https://github.com/sparklemotion/sqlite3-ruby/commit/41059aa3ccc2c0f910d6df4fccfe36b3c3c6c649https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.10.2Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
