{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-128084","id":"CVE-2026-128084","title":"sqlite3-ruby: SQL Query Truncation","description":"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 ","descriptionLong":"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.","published":"2026-11-13T18:47:22.594Z","updated":"2026-11-19T21:01:06.911805453Z","reserved":"2026-11-12T21:24:51.130Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["sparklemotion sqlite3-ruby"],"affectedProducts":[{"vendor":"sparklemotion","product":"sqlite3-ruby","defaultStatus":null,"versions":[{"version":"< 2.10.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"sqlite3","purl":"pkg:gem/sqlite3","ranges":["<2.10.2"],"fixed":["2.10.2"],"advisory":"GHSA-4fqr-96q8-xrfx"}],"cwes":["CWE-681"],"aliases":["GHSA-4fqr-96q8-xrfx"],"references":[{"url":"https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-4fqr-96q8-xrfx","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/pull/762","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/commit/41059aa3ccc2c0f910d6df4fccfe36b3c3c6c649","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.10.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128084.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128084","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite3/GHSA-4fqr-96q8-xrfx.yml","tags":["web"]},{"url":"https://github.com/sparklemotion/sqlite3-ruby","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00314,"epssPercentile":0.24993,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-128084","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128084","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-128084","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4fqr-96q8-xrfx","ok":true,"note":"GHSA-4fqr-96q8-xrfx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-128084","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}