- Accueil
- Vulnérabilités
- CVE-2026-128084
CVE-2026-128084
sqlite3-ruby: SQL Query Truncation
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
sparklemotion (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| sqlite3-ruby | Versions non précisées | — | CNA (éditeur ou attributeur) |
Rubygems (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| sqlite3 | avant 2.10.2 (exclu) |
2.10.2 |
GitHub Advisory |
Correctif
Mise à jour — RubyGems/sqlite3 2.10.2source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-4fqr-96q8-xrfx — sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger 13 nov. 2026
Références
- https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-4fqr-96q8-xrfxx_refsource_CONFIRM
- https://github.com/sparklemotion/sqlite3-ruby/pull/762x_refsource_MISC
- https://github.com/sparklemotion/sqlite3-ruby/commit/41059aa3ccc2c0f910d6df4fccfe36b3c3c6c649x_refsource_MISC
- https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.10.2x_refsource_MISC
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite3/GHSA-4fqr-96q8-xrfx.ymlWEB
- https://github.com/sparklemotion/sqlite3-rubyPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-681 · Autre (CWE-681)